Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 91.3 kB / 15.06 MB, free: 1.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00055/0.0005504, allocations: 16.47 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2666, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.697/0.9637, allocations: 195.2 MB / 0.978 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00996/0.9737, allocations: 6.54 MB / 0.9844 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.9756, allocations: 36.78 kB / 0.9844 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.9775, allocations: 0.494 MB / 0.9849 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00615/0.9837, allocations: 1.777 MB / 0.9866 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.9866, allocations: 0.9132 MB / 0.9875 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003927/0.9905, allocations: 3.176 MB / 0.9906 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.9918, allocations: 0.7809 MB / 0.9914 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003557/0.9953, allocations: 1.521 MB / 0.9929 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.9965, allocations: 0.8613 MB / 0.9937 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.9966, allocations: 46.91 kB / 0.9938 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003513/1, allocations: 1.548 MB / 0.9953 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003394/1, allocations: 343.6 kB / 0.9956 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000309/1.001, allocations: 273.4 kB / 0.9959 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001973/1.003, allocations: 1.706 MB / 0.9975 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.003, allocations: 0 / 0.9975 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.577e-06/1.003, allocations: 3.984 kB / 0.9975 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.339e-05/1.003, allocations: 0 / 0.9975 GB, free: 14.81 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003703/1.007, allocations: 1.611 MB / 0.9991 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/1.007, allocations: 8.719 kB / 0.9991 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/1.007, allocations: 129.4 kB / 0.9992 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/1.01, allocations: 0.5985 MB / 0.9998 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/1.011, allocations: 0.9225 MB / 1.001 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005216/1.012, allocations: 198.9 kB / 1.001 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/1.012, allocations: 82.94 kB / 1.001 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/1.014, allocations: 1.267 MB / 1.002 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/1.014, allocations: 0 / 1.002 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-05/1.014, allocations: 34.55 kB / 1.002 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/1.014, allocations: 50.86 kB / 1.002 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003252/1.018, allocations: 1.607 MB / 1.004 GB, free: 12.22 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005875/1.024, allocations: 4.096 MB / 1.008 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/1.026, allocations: 1.051 MB / 1.009 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/1.027, allocations: 0.6965 MB / 1.01 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/1.028, allocations: 0.6361 MB / 1.01 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/1.028, allocations: 45.72 kB / 1.01 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.265e-06/1.028, allocations: 0 / 1.01 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004294/1.033, allocations: 1.911 MB / 1.012 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/1.033, allocations: 63.94 kB / 1.012 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009311/1.034, allocations: 0.8109 MB / 1.013 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.471e-05/1.034, allocations: 41.61 kB / 1.013 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/1.034, allocations: 445 kB / 1.013 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/1.034, allocations: 262.6 kB / 1.014 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/1.034, allocations: 15.31 kB / 1.014 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.034, allocations: 334.4 kB / 1.014 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/1.036, allocations: 0.5654 MB / 1.015 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/1.037, allocations: 0.6919 MB / 1.015 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/1.038, allocations: 0.6177 MB / 1.016 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.038, allocations: 0 / 1.016 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003081/1.041, allocations: 1.425 MB / 1.017 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/1.041, allocations: 155.8 kB / 1.017 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.041, allocations: 3.984 kB / 1.017 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/1.042, allocations: 5.812 kB / 1.017 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/1.043, allocations: 283.6 kB / 1.018 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006756/1.044, allocations: 1.189 MB / 1.019 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/1.045, allocations: 194.1 kB / 1.019 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.216e-05/1.045, allocations: 38.59 kB / 1.019 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/1.045, allocations: 2.5 kB / 1.019 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00274/1.048, allocations: 1.317 MB / 1.02 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.048, allocations: 0 / 1.02 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/1.048, allocations: 5.844 kB / 1.02 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/1.049, allocations: 255.6 kB / 1.021 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/1.049, allocations: 6.391 kB / 1.021 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.05, allocations: 200.8 kB / 1.021 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-05/1.05, allocations: 33.53 kB / 1.021 GB, free: 4.477 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007151/1.051, allocations: 377.1 kB / 1.021 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/1.051, allocations: 100.1 kB / 1.021 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/1.055, allocations: 1.44 MB / 1.023 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/1.055, allocations: 8.688 kB / 1.023 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/1.055, allocations: 3.953 kB / 1.023 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.055, allocations: 3.984 kB / 1.023 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005603/1.06, allocations: 2.921 MB / 1.026 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.06, allocations: 3.375 kB / 1.026 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.061, allocations: 252.5 kB / 1.026 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/1.061, allocations: 9.125 kB / 1.026 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.999e-05/1.061, allocations: 24.83 kB / 1.026 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006226/1.062, allocations: 1.193 MB / 1.027 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.062, allocations: 6.438 kB / 1.027 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/1.065, allocations: 1.538 MB / 1.028 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005314/1.066, allocations: 312.4 kB / 1.029 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/1.066, allocations: 15.59 kB / 1.029 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.067, allocations: 166.7 kB / 1.029 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/1.067, allocations: 56.45 kB / 1.029 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-05/1.067, allocations: 37.75 kB / 1.029 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007875/1.068, allocations: 0.5632 MB / 1.03 GB, free: 424 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.068, allocations: 3.938 kB / 1.03 GB, free: 420 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001616/1.07, allocations: 0.5362 MB / 1.03 GB, free: 192 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003832/1.073, allocations: 2.246 MB / 1.032 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00505/1.078, allocations: 2.137 MB / 1.034 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/1.079, allocations: 0 / 1.034 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/1.08, allocations: 0.7109 MB / 1.035 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/1.083, allocations: 0.5053 MB / 1.036 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/1.097, allocations: 6.947 MB / 1.042 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009846/1.098, allocations: 1.098 MB / 1.043 GB, free: 4.031 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001917/1.1, allocations: 395.5 kB / 1.044 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006813/1.101, allocations: 385 kB / 1.044 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/1.101, allocations: 0 / 1.044 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04981/1.151, allocations: 28.73 MB / 1.072 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/1.151, allocations: 271.8 kB / 1.073 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.706, allocations: 3.938 kB / 1.073 GB, free: 6.637 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: