Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002549/0.002549, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9607/0.9607, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.001011, allocations: 87.77 kB / 483.3 MB, free: 5.902 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.31e-05/4.311e-05, allocations: 3.5 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1692, allocations: 82.3 MB / 0.6405 GB, free: 7.77 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.41, allocations: 396.6 MB / 1.028 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/1.41, allocations: 91.95 kB / 1.028 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.044/3.454, allocations: 0.5581 GB / 1.586 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.142e-06/3.454, allocations: 2.906 kB / 1.586 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001929/3.455, allocations: 39.94 kB / 1.586 GB, free: 103.1 MB / 0.6823 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.004266/3.459, allocations: 1.849 MB / 1.588 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/3.459, allocations: 13.53 kB / 1.588 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003615/3.459, allocations: 175.7 kB / 1.588 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004336/3.464, allocations: 0.6138 MB / 1.589 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003587/3.467, allocations: 1.782 MB / 1.59 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/3.467, allocations: 125.2 kB / 1.591 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000256/3.468, allocations: 120.5 kB / 1.591 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/3.47, allocations: 1.434 MB / 1.592 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/3.47, allocations: 8.281 kB / 1.592 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/3.47, allocations: 55.14 kB / 1.592 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-05/3.47, allocations: 51.19 kB / 1.592 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/3.472, allocations: 1.073 MB / 1.593 GB, free: 101.4 MB / 0.6823 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.00919/3.481, allocations: 6.998 MB / 1.6 GB, free: 98.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009637/3.482, allocations: 0.5841 MB / 1.601 GB, free: 98.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/3.483, allocations: 324.5 kB / 1.601 GB, free: 98.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/3.484, allocations: 1.269 MB / 1.602 GB, free: 96.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/3.484, allocations: 44.5 kB / 1.602 GB, free: 96.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 2.655e-06/3.484, allocations: 4.75 kB / 1.602 GB, free: 96.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.001536/3.486, allocations: 0.8067 MB / 1.603 GB, free: 96.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/3.486, allocations: 110.3 kB / 1.603 GB, free: 96.49 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/3.487, allocations: 1.226 MB / 1.604 GB, free: 96.33 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/3.487, allocations: 42.14 kB / 1.604 GB, free: 96.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/3.488, allocations: 0.6999 MB / 1.605 GB, free: 96.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/3.488, allocations: 228.7 kB / 1.605 GB, free: 95.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/3.488, allocations: 16.16 kB / 1.605 GB, free: 95.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.511e-05/3.488, allocations: 336 kB / 1.606 GB, free: 95.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/3.489, allocations: 300.5 kB / 1.606 GB, free: 95.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/3.489, allocations: 0.5776 MB / 1.606 GB, free: 95.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/3.49, allocations: 370.2 kB / 1.607 GB, free: 95.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/3.49, allocations: 0 / 1.607 GB, free: 95.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002033/3.492, allocations: 1.118 MB / 1.608 GB, free: 95.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004844/3.492, allocations: 2.491 MB / 1.61 GB, free: 92.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/3.492, allocations: 7.906 kB / 1.61 GB, free: 92.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/3.494, allocations: 433.5 kB / 1.611 GB, free: 92.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/3.495, allocations: 245.1 kB / 1.611 GB, free: 92.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/3.496, allocations: 1.023 MB / 1.612 GB, free: 92.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/3.499, allocations: 269 kB / 1.612 GB, free: 91.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/3.499, allocations: 61.22 kB / 1.612 GB, free: 91.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/3.499, allocations: 8.797 kB / 1.612 GB, free: 91.99 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00162/3.501, allocations: 0.9564 MB / 1.613 GB, free: 91.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/3.501, allocations: 7.312 kB / 1.613 GB, free: 91.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/3.502, allocations: 436.5 kB / 1.614 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/3.503, allocations: 239.4 kB / 1.614 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009733/3.504, allocations: 1.022 MB / 1.615 GB, free: 91.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/3.506, allocations: 237.5 kB / 1.615 GB, free: 91.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/3.506, allocations: 51.86 kB / 1.615 GB, free: 91.38 MB / 0.6823 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.0002664/3.507, allocations: 169.5 kB / 1.615 GB, free: 91.26 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/3.507, allocations: 145.5 kB / 1.615 GB, free: 91.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/3.509, allocations: 0.9281 MB / 1.616 GB, free: 91.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/3.509, allocations: 10.59 kB / 1.616 GB, free: 91.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/3.509, allocations: 0 / 1.616 GB, free: 91.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/3.51, allocations: 0.8079 MB / 1.617 GB, free: 90.92 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005012/3.515, allocations: 3.006 MB / 1.62 GB, free: 89.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/3.515, allocations: 3.875 kB / 1.62 GB, free: 89.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009192/3.516, allocations: 159.5 kB / 1.62 GB, free: 89.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/3.517, allocations: 410.8 kB / 1.621 GB, free: 89.97 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.454e-05/3.517, allocations: 24.69 kB / 1.621 GB, free: 89.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/3.519, allocations: 1.098 MB / 1.622 GB, free: 89.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/3.519, allocations: 3.531 kB / 1.622 GB, free: 89.44 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/3.521, allocations: 1.256 MB / 1.623 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008636/3.521, allocations: 388.6 kB / 1.623 GB, free: 88.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003832/3.522, allocations: 14.94 kB / 1.623 GB, free: 88.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/3.524, allocations: 147.3 kB / 1.623 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/3.524, allocations: 45.69 kB / 1.624 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/3.524, allocations: 44.75 kB / 1.624 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001435/3.525, allocations: 0.9567 MB / 1.624 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/3.525, allocations: 0 / 1.624 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003279/3.529, allocations: 0.9759 MB / 1.625 GB, free: 88.35 MB / 0.6823 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.004043/3.533, allocations: 3.523 MB / 1.629 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002536/3.535, allocations: 1.329 MB / 1.63 GB, free: 86.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/3.535, allocations: 0 / 1.63 GB, free: 86.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/3.537, allocations: 475 kB / 1.631 GB, free: 86.13 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/3.541, allocations: 0.7732 MB / 1.631 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005836/3.546, allocations: 2.184 MB / 1.634 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/3.547, allocations: 1.237 MB / 1.635 GB, free: 84.69 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002468/3.55, allocations: 430 kB / 1.635 GB, free: 84.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000677/3.55, allocations: 0.5373 MB / 1.636 GB, free: 84.66 MB / 0.6823 GB Notification: Performance of SimCode: time 8.32e-07/3.55, allocations: 2.594 kB / 1.636 GB, free: 84.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08116/3.631, allocations: 56.06 MB / 1.69 GB, free: 68.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/3.632, allocations: 232.2 kB / 1.691 GB, free: 68.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.848/7.48, allocations: 0 / 1.691 GB, free: 68.02 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)