Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9509/0.9509, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 176.9 kB / 182.2 MB, free: 9.469 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 221.5 MB / 436.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009185/0.0009185, allocations: 86.08 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001799/0.001799, allocations: 280.6 kB / 0.5889 GB, free: 54.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.091e-05/2.093e-05, allocations: 7.984 kB / 0.6766 GB, free: 12.78 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4809, allocations: 82.76 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9044/1.385, allocations: 393.3 MB / 1.142 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/1.386, allocations: 88.52 kB / 1.142 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.847/3.233, allocations: 0.5552 GB / 1.697 GB, free: 20.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/3.233, allocations: 0 / 1.697 GB, free: 20.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001351/3.233, allocations: 39.98 kB / 1.697 GB, free: 20.37 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003859/3.237, allocations: 1.851 MB / 1.699 GB, free: 18.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/3.237, allocations: 8.031 kB / 1.699 GB, free: 18.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/3.241, allocations: 0.6105 MB / 1.699 GB, free: 17.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/3.245, allocations: 1.762 MB / 1.701 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/3.245, allocations: 83.98 kB / 1.701 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/3.245, allocations: 72 kB / 1.701 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001736/3.247, allocations: 1 MB / 1.702 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/3.249, allocations: 1.268 MB / 1.703 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/3.249, allocations: 0 / 1.703 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/3.249, allocations: 4 kB / 1.703 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-05/3.249, allocations: 58.08 kB / 1.703 GB, free: 13.42 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.008836/3.258, allocations: 6.723 MB / 1.71 GB, free: 6.383 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008216/3.259, allocations: 0.556 MB / 1.711 GB, free: 5.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/3.259, allocations: 304.2 kB / 1.711 GB, free: 5.523 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/3.26, allocations: 1.271 MB / 1.712 GB, free: 3.977 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/3.26, allocations: 51.12 kB / 1.712 GB, free: 3.918 MB / 0.698 GB Notification: Performance of pre-optimization done (n=64): time 2.856e-06/3.26, allocations: 0 / 1.712 GB, free: 3.918 MB / 0.698 GB Notification: Performance of matching and sorting (n=64): time 0.002496/3.263, allocations: 0.87 MB / 1.713 GB, free: 3.031 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/3.263, allocations: 111.4 kB / 1.713 GB, free: 2.898 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/3.264, allocations: 0.9588 MB / 1.714 GB, free: 1.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/3.264, allocations: 25.7 kB / 1.714 GB, free: 1.898 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005074/3.264, allocations: 0.7212 MB / 1.715 GB, free: 1.168 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/3.265, allocations: 216.8 kB / 1.715 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/3.265, allocations: 0 / 1.715 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.447e-05/3.265, allocations: 333.9 kB / 1.715 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/3.265, allocations: 290.6 kB / 1.716 GB, free: 348 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4223/3.687, allocations: 0.5569 MB / 1.716 GB, free: 103.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/3.69, allocations: 475.9 kB / 1.717 GB, free: 103.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/3.69, allocations: 2.25 kB / 1.717 GB, free: 103.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004062/3.694, allocations: 1.151 MB / 1.718 GB, free: 103.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004448/3.695, allocations: 2.454 MB / 1.72 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/3.695, allocations: 6.797 kB / 1.72 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009507/3.696, allocations: 359 kB / 1.72 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/3.697, allocations: 249 kB / 1.721 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/3.698, allocations: 1.07 MB / 1.722 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/3.701, allocations: 211.9 kB / 1.722 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/3.701, allocations: 53.95 kB / 1.722 GB, free: 100.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/3.701, allocations: 4.875 kB / 1.722 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0032/3.704, allocations: 0.995 MB / 1.723 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/3.704, allocations: 6.297 kB / 1.723 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009357/3.705, allocations: 360.9 kB / 1.723 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/3.706, allocations: 240 kB / 1.724 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/3.708, allocations: 1.073 MB / 1.725 GB, free: 99.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/3.711, allocations: 188.9 kB / 1.725 GB, free: 99.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/3.711, allocations: 52.94 kB / 1.725 GB, free: 99.74 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004309/3.711, allocations: 125.5 kB / 1.725 GB, free: 99.63 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002671/3.714, allocations: 0.8777 MB / 1.726 GB, free: 99.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/3.714, allocations: 124 kB / 1.726 GB, free: 99.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/3.717, allocations: 0.9725 MB / 1.727 GB, free: 99.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/3.717, allocations: 13.8 kB / 1.727 GB, free: 99.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/3.717, allocations: 3.953 kB / 1.727 GB, free: 99.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00213/3.719, allocations: 0.8768 MB / 1.728 GB, free: 99.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005691/3.725, allocations: 2.913 MB / 1.731 GB, free: 98.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/3.725, allocations: 5.688 kB / 1.731 GB, free: 98.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008999/3.726, allocations: 152.1 kB / 1.731 GB, free: 98.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007483/3.727, allocations: 356.8 kB / 1.731 GB, free: 98.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/3.727, allocations: 17.45 kB / 1.731 GB, free: 98.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/3.728, allocations: 1.137 MB / 1.732 GB, free: 97.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/3.728, allocations: 6.906 kB / 1.732 GB, free: 97.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/3.731, allocations: 1.283 MB / 1.733 GB, free: 97.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006599/3.732, allocations: 361.8 kB / 1.734 GB, free: 97.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/3.732, allocations: 12.5 kB / 1.734 GB, free: 97.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/3.733, allocations: 131.5 kB / 1.734 GB, free: 97.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/3.734, allocations: 50.7 kB / 1.734 GB, free: 97.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.693e-05/3.734, allocations: 43.39 kB / 1.734 GB, free: 97.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001062/3.735, allocations: 0.7349 MB / 1.735 GB, free: 96.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/3.735, allocations: 0 / 1.735 GB, free: 96.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003238/3.738, allocations: 0.9758 MB / 1.736 GB, free: 96.88 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.005601/3.744, allocations: 3.556 MB / 1.739 GB, free: 94.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00269/3.746, allocations: 1.247 MB / 1.74 GB, free: 94.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/3.746, allocations: 0 / 1.74 GB, free: 94.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/3.748, allocations: 447.1 kB / 1.741 GB, free: 94.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/3.751, allocations: 0.5797 MB / 1.741 GB, free: 94.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/3.757, allocations: 2.064 MB / 1.743 GB, free: 94.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009733/3.758, allocations: 1.24 MB / 1.745 GB, free: 93.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002083/3.76, allocations: 362.1 kB / 1.745 GB, free: 93.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005977/3.761, allocations: 0.5249 MB / 1.745 GB, free: 93.41 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/3.761, allocations: 2.375 kB / 1.745 GB, free: 93.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08079/3.841, allocations: 45.21 MB / 1.79 GB, free: 91.68 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/3.842, allocations: 203.6 kB / 1.79 GB, free: 91.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.433/7.274, allocations: 4 kB / 1.79 GB, free: 91.41 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)