Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",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.001806/0.001806, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001484/0.001484, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.399/2.399, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.327/1.327, allocations: 132.2 MB / 423.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004698, allocations: 8 kB / 0.5033 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.517, allocations: 81.57 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1163/0.6334, allocations: 109.3 MB / 0.6897 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03398/0.6674, allocations: 21.39 MB / 0.7106 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00543/0.6729, allocations: 111.2 kB / 0.7107 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004464/0.6774, allocations: 1.465 MB / 0.7122 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01539/0.6928, allocations: 4.179 MB / 0.7162 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01706/0.7099, allocations: 3.123 MB / 0.7193 GB, free: 4.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0177/0.7276, allocations: 5.114 MB / 0.7243 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007215/0.7349, allocations: 2.313 MB / 0.7265 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.7462, allocations: 2.448 MB / 0.7289 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005776/0.752, allocations: 1.583 MB / 0.7305 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001527/0.7536, allocations: 132 kB / 0.7306 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/0.7639, allocations: 1.74 MB / 0.7323 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002236/0.7662, allocations: 0.5797 MB / 0.7329 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002858/0.7691, allocations: 0.7305 MB / 0.7336 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.7798, allocations: 4.578 MB / 0.7381 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.7799, allocations: 0 / 0.7381 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.546e-06/0.7799, allocations: 3.938 kB / 0.7381 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001196/0.78, allocations: 0 / 0.7381 GB, free: 1.422 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.006955/0.787, allocations: 3.366 MB / 0.7413 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.787, allocations: 8.031 kB / 0.7414 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005789/0.7876, allocations: 348.7 kB / 0.7417 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.7982, allocations: 1.362 MB / 0.743 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00563/0.8039, allocations: 2.709 MB / 0.7457 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003007/0.8042, allocations: 248 kB / 0.7459 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003992/0.8046, allocations: 244 kB / 0.7461 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008123/0.8127, allocations: 3.171 MB / 0.7492 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.802e-05/0.8128, allocations: 7.938 kB / 0.7492 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003359/0.8132, allocations: 104 kB / 0.7493 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.994e-05/0.8133, allocations: 83.91 kB / 0.7494 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009006/0.8223, allocations: 2.8 MB / 0.7521 GB, free: 2.578 MB / 0.5762 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.02231/0.8446, allocations: 13.69 MB / 0.7655 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004382/0.8491, allocations: 1.436 MB / 0.7669 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/0.851, allocations: 1.777 MB / 0.7687 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003666/0.8546, allocations: 1.157 MB / 0.7698 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=126): time 3.858e-06/0.8547, allocations: 0 / 0.7698 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=130): time 0.03337/0.888, allocations: 9.718 MB / 0.7793 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003118/0.8884, allocations: 0.5805 MB / 0.7798 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004789/0.8932, allocations: 2.69 MB / 0.7825 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004461/0.8937, allocations: 61.7 kB / 0.7825 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001788/0.8955, allocations: 1.353 MB / 0.7838 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007306/0.8962, allocations: 453.5 kB / 0.7843 GB, free: 228 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.8964, allocations: 36 kB / 0.7843 GB, free: 192 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002407/0.8966, allocations: 373.9 kB / 0.7847 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003746/0.9004, allocations: 0.9485 MB / 0.7856 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004316/0.9047, allocations: 1.535 MB / 0.7871 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00395/0.9087, allocations: 1.09 MB / 0.7882 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.9087, allocations: 4 kB / 0.7882 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01133/0.9201, allocations: 3.089 MB / 0.7912 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.002541/0.9227, allocations: 5.243 MB / 0.7963 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/0.9227, allocations: 15.95 kB / 0.7963 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003372/0.9261, allocations: 0.9277 MB / 0.7972 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/0.929, allocations: 479.2 kB / 0.7977 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003307/0.9324, allocations: 2.184 MB / 0.7998 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005078/0.9375, allocations: 407 kB / 0.8002 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.9378, allocations: 107.9 kB / 0.8003 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.9379, allocations: 4 kB / 0.8003 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01033/0.9482, allocations: 2.81 MB / 0.8031 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.483e-05/0.9483, allocations: 16.22 kB / 0.8031 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003113/0.9514, allocations: 0.9241 MB / 0.804 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/0.9542, allocations: 471.2 kB / 0.8044 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.9576, allocations: 2.187 MB / 0.8066 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004593/0.9622, allocations: 359.5 kB / 0.8069 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004864/0.9627, allocations: 107.8 kB / 0.807 GB, free: 8.152 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001762/0.9645, allocations: 0.7113 MB / 0.8077 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007507/0.9653, allocations: 280.6 kB / 0.808 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008538/0.9738, allocations: 2.375 MB / 0.8103 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.991e-05/0.9739, allocations: 12 kB / 0.8103 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.9739, allocations: 4 kB / 0.8103 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007186/0.9811, allocations: 1.99 MB / 0.8122 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3218/1.303, allocations: 6.244 MB / 0.8183 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-05/1.303, allocations: 11.39 kB / 0.8183 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003283/1.306, allocations: 277.6 kB / 0.8186 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004635/1.311, allocations: 0.7905 MB / 0.8194 GB, free: 207 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003889/1.311, allocations: 53.86 kB / 0.8194 GB, free: 206.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004421/1.316, allocations: 1.962 MB / 0.8214 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.952e-05/1.316, allocations: 12.53 kB / 0.8214 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/1.332, allocations: 4.339 MB / 0.8256 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002782/1.335, allocations: 0.6734 MB / 0.8263 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/1.336, allocations: 39.52 kB / 0.8263 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003986/1.34, allocations: 284.1 kB / 0.8266 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002822/1.34, allocations: 121.3 kB / 0.8267 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/1.341, allocations: 72 kB / 0.8268 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003347/1.344, allocations: 1.898 MB / 0.8286 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/1.344, allocations: 1.719 kB / 0.8286 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004893/1.349, allocations: 1.504 MB / 0.8301 GB, free: 201.9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01288/1.362, allocations: 7.259 MB / 0.8372 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01109/1.373, allocations: 3.654 MB / 0.8407 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/1.373, allocations: 4.125 kB / 0.8407 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003638/1.377, allocations: 1.057 MB / 0.8418 GB, free: 196 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007683/1.384, allocations: 1.48 MB / 0.8432 GB, free: 195.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/1.399, allocations: 16.14 MB / 0.859 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009851/1.4, allocations: 1.776 MB / 0.8607 GB, free: 180.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003318/1.404, allocations: 0.6683 MB / 0.8614 GB, free: 180.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/1.405, allocations: 1.171 MB / 0.8625 GB, free: 179.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.302e-06/1.405, allocations: 0 / 0.8625 GB, free: 179.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.351/1.756, allocations: 94.02 MB / 0.9543 GB, free: 88.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/1.757, allocations: 271.5 kB / 0.9546 GB, free: 87.83 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.704/8.461, allocations: 0 / 0.9546 GB, free: 87.83 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: