Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007944/0.007944, allocations: 169.1 kB / 16.26 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9492/0.9492, allocations: 135.3 MB / 426.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 9.031 kB / 0.5076 GB, free: 4.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1628, allocations: 82.31 MB / 0.588 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.3666/0.5294, allocations: 68.23 MB / 0.6546 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01729/0.5468, allocations: 14.36 MB / 0.6686 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003011/0.5498, allocations: 66.47 kB / 0.6687 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.5521, allocations: 0.7525 MB / 0.6694 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007462/0.5596, allocations: 2.338 MB / 0.6717 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005151/0.5648, allocations: 1.779 MB / 0.6735 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009798/0.5746, allocations: 5.87 MB / 0.6792 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003145/0.5777, allocations: 1.294 MB / 0.6805 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004716/0.5825, allocations: 1.426 MB / 0.6818 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003633/0.5862, allocations: 1.193 MB / 0.683 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007552/0.5869, allocations: 67.31 kB / 0.6831 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006601/0.5936, allocations: 1.735 MB / 0.6848 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.5946, allocations: 329.5 kB / 0.6851 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003499/0.5981, allocations: 0.8999 MB / 0.686 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009482/0.6076, allocations: 3.347 MB / 0.6892 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.6077, allocations: 0 / 0.6892 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6077, allocations: 0 / 0.6892 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001166/0.6078, allocations: 1.25 kB / 0.6892 GB, free: 7.641 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00639/0.6142, allocations: 1.957 MB / 0.6911 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.6142, allocations: 9.844 kB / 0.6912 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006396/0.6206, allocations: 0.7351 MB / 0.6919 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004285/0.625, allocations: 1.554 MB / 0.6934 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/0.6253, allocations: 131.9 kB / 0.6935 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005033/0.6258, allocations: 116.4 kB / 0.6936 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005654/0.6315, allocations: 1.682 MB / 0.6953 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/0.6316, allocations: 10.05 kB / 0.6953 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.6318, allocations: 53.92 kB / 0.6953 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.809e-05/0.6319, allocations: 38.2 kB / 0.6954 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005546/0.6375, allocations: 1.528 MB / 0.6969 GB, free: 3.844 MB / 0.5137 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.01327/0.6507, allocations: 7.304 MB / 0.704 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.6535, allocations: 0.841 MB / 0.7048 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.6555, allocations: 0.5298 MB / 0.7053 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/0.6571, allocations: 1.272 MB / 0.7066 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.6572, allocations: 40.19 kB / 0.7066 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=70): time 3.086e-06/0.6572, allocations: 3.938 kB / 0.7066 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=70): time 0.03167/0.6889, allocations: 4.323 MB / 0.7108 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.689, allocations: 109.2 kB / 0.7109 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/0.6919, allocations: 1.371 MB / 0.7123 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002107/0.6921, allocations: 41.39 kB / 0.7123 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007445/0.6929, allocations: 0.679 MB / 0.713 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/0.6933, allocations: 248.1 kB / 0.7132 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.6935, allocations: 79.52 kB / 0.7133 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6936, allocations: 334.3 kB / 0.7136 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.6957, allocations: 0.5208 MB / 0.7141 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/0.6981, allocations: 0.7994 MB / 0.7149 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003881/0.702, allocations: 1.191 MB / 0.7161 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.702, allocations: 2.5 kB / 0.7161 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005443/0.7075, allocations: 1.633 MB / 0.7177 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.7077, allocations: 281.1 kB / 0.7179 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.7077, allocations: 4.531 kB / 0.7179 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002012/0.7097, allocations: 0.574 MB / 0.7185 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.711, allocations: 248.2 kB / 0.7187 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.713, allocations: 1.179 MB / 0.7199 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/0.7157, allocations: 278.6 kB / 0.7201 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.7158, allocations: 55.94 kB / 0.7202 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.7159, allocations: 4 kB / 0.7202 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004986/0.7209, allocations: 1.484 MB / 0.7217 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.7209, allocations: 4 kB / 0.7217 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/0.7228, allocations: 0.5751 MB / 0.7222 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.7241, allocations: 251.6 kB / 0.7225 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.7261, allocations: 1.166 MB / 0.7236 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/0.7286, allocations: 250.8 kB / 0.7238 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.7287, allocations: 59.88 kB / 0.7239 GB, free: 15.87 MB / 0.545 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 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0009991/0.7297, allocations: 448.8 kB / 0.7243 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004844/0.7302, allocations: 142.3 kB / 0.7245 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004707/0.7349, allocations: 1.422 MB / 0.7258 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.735, allocations: 8 kB / 0.7259 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.735, allocations: 3.938 kB / 0.7259 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003889/0.7389, allocations: 1.215 MB / 0.727 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009253/0.7481, allocations: 3.516 MB / 0.7305 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.7482, allocations: 4 kB / 0.7305 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009224/0.7491, allocations: 147.8 kB / 0.7306 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/0.7511, allocations: 0.5575 MB / 0.7312 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.154e-05/0.7512, allocations: 23.97 kB / 0.7312 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.7532, allocations: 1.173 MB / 0.7323 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.7532, allocations: 7.938 kB / 0.7323 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004913/0.7582, allocations: 1.485 MB / 0.7338 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.7594, allocations: 394.9 kB / 0.7342 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006213/0.76, allocations: 24 kB / 0.7342 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002486/0.7625, allocations: 163.8 kB / 0.7343 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.7627, allocations: 56.33 kB / 0.7344 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/0.7629, allocations: 51.95 kB / 0.7345 GB, free: 4.676 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002359/0.7653, allocations: 0.9654 MB / 0.7354 GB, free: 3.711 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.31e-07/0.7653, allocations: 0 / 0.7354 GB, free: 3.711 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003869/0.7692, allocations: 0.8889 MB / 0.7363 GB, free: 2.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001786/0.771, allocations: 0.5352 MB / 0.7368 GB, free: 2.293 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006994/0.778, allocations: 1.913 MB / 0.7387 GB, free: 392 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.778, allocations: 4 kB / 0.7387 GB, free: 388 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.78, allocations: 0.5614 MB / 0.7392 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005269/0.7853, allocations: 0.7982 MB / 0.74 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007406/0.7927, allocations: 3.263 MB / 0.7432 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009952/0.7938, allocations: 1.211 MB / 0.7444 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001866/0.7956, allocations: 331.9 kB / 0.7447 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/0.796, allocations: 127.3 kB / 0.7448 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/0.796, allocations: 0 / 0.7448 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.06478/0.8608, allocations: 38.81 MB / 0.7827 GB, free: 3.594 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)