Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009404/0.0009404, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 173.5 kB / 16.57 MB, free: 6.52 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.288/1.288, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6597/0.6597, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002894, allocations: 8 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.3523/0.4792, allocations: 109.4 MB / 0.6636 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03094/0.5102, allocations: 21.34 MB / 0.6845 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004538/0.5148, allocations: 119.2 kB / 0.6846 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005533/0.5203, allocations: 1.453 MB / 0.686 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01396/0.5343, allocations: 4.192 MB / 0.6901 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009514/0.5438, allocations: 3.129 MB / 0.6932 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009933/0.5538, allocations: 5.085 MB / 0.6981 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003892/0.5577, allocations: 2.27 MB / 0.7003 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005542/0.5633, allocations: 2.421 MB / 0.7027 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003039/0.5664, allocations: 1.571 MB / 0.7042 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006772/0.5671, allocations: 132 kB / 0.7044 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005103/0.5722, allocations: 1.74 MB / 0.7061 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009308/0.5731, allocations: 0.568 MB / 0.7066 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.5744, allocations: 0.7345 MB / 0.7073 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006108/0.5806, allocations: 4.565 MB / 0.7118 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5806, allocations: 4 kB / 0.7118 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5806, allocations: 0 / 0.7118 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.937e-05/0.5807, allocations: 0 / 0.7118 GB, free: 11.11 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006323/0.587, allocations: 3.353 MB / 0.7151 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5871, allocations: 12.03 kB / 0.7151 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.5982, allocations: 1.455 MB / 0.7165 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005227/0.6035, allocations: 2.717 MB / 0.7192 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.6038, allocations: 251.9 kB / 0.7194 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004115/0.6042, allocations: 236 kB / 0.7196 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007571/0.6118, allocations: 3.206 MB / 0.7228 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/0.6118, allocations: 7.938 kB / 0.7228 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000273/0.6121, allocations: 108 kB / 0.7229 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.359e-05/0.6122, allocations: 75.86 kB / 0.7229 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009008/0.6212, allocations: 2.881 MB / 0.7258 GB, free: 12.41 MB / 0.545 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.01855/0.6398, allocations: 13.73 MB / 0.7392 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004284/0.6441, allocations: 1.503 MB / 0.7406 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/0.6458, allocations: 1.781 MB / 0.7424 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003653/0.6494, allocations: 1.208 MB / 0.7436 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=126): time 3.797e-06/0.6495, allocations: 0 / 0.7436 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130): time 0.054/0.7035, allocations: 11.82 MB / 0.7551 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002223/0.7037, allocations: 0.5805 MB / 0.7557 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003949/0.7077, allocations: 2.694 MB / 0.7583 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002815/0.708, allocations: 57.7 kB / 0.7584 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.7091, allocations: 1.337 MB / 0.7597 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004614/0.7095, allocations: 449.6 kB / 0.7601 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.7097, allocations: 32 kB / 0.7601 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.7098, allocations: 373.9 kB / 0.7605 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00381/0.7137, allocations: 0.9993 MB / 0.7614 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004216/0.7179, allocations: 1.582 MB / 0.763 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00391/0.7218, allocations: 1.128 MB / 0.7641 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.7218, allocations: 0 / 0.7641 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02377/0.7456, allocations: 4.225 MB / 0.7682 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.001583/0.7472, allocations: 5.248 MB / 0.7733 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.7473, allocations: 12.38 kB / 0.7734 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003905/0.7512, allocations: 1.165 MB / 0.7745 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/0.7538, allocations: 471.2 kB / 0.7749 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003894/0.7577, allocations: 2.399 MB / 0.7773 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00472/0.7624, allocations: 406.8 kB / 0.7777 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/0.7627, allocations: 107.9 kB / 0.7778 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.7627, allocations: 4 kB / 0.7778 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02265/0.7853, allocations: 3.949 MB / 0.7816 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/0.7854, allocations: 12 kB / 0.7816 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003756/0.7891, allocations: 1.173 MB / 0.7828 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/0.7917, allocations: 467.2 kB / 0.7832 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/0.7955, allocations: 2.382 MB / 0.7856 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004295/0.7998, allocations: 383.2 kB / 0.7859 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/0.8, allocations: 107.8 kB / 0.786 GB, free: 12.43 MB / 0.6075 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 (164): * Single equations (assignments): 161 * 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 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001299/0.8013, allocations: 0.6991 MB / 0.7867 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004805/0.8018, allocations: 280.6 kB / 0.787 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/0.8175, allocations: 3.034 MB / 0.7899 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.8176, allocations: 16 kB / 0.79 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.8176, allocations: 4 kB / 0.79 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01446/0.8321, allocations: 2.642 MB / 0.7925 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/0.8536, allocations: 7.043 MB / 0.7994 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.8537, allocations: 12.2 kB / 0.7994 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/0.8554, allocations: 280.2 kB / 0.7997 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003439/0.8589, allocations: 1.023 MB / 0.8007 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.859, allocations: 47.94 kB / 0.8007 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003502/0.8626, allocations: 2.149 MB / 0.8028 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.8626, allocations: 11.94 kB / 0.8029 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01966/0.8822, allocations: 5.015 MB / 0.8078 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/0.8839, allocations: 0.6769 MB / 0.8084 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004844/0.8844, allocations: 40 kB / 0.8085 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00336/0.8877, allocations: 298.5 kB / 0.8087 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.888, allocations: 120.7 kB / 0.8089 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.8881, allocations: 71.92 kB / 0.8089 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00305/0.8912, allocations: 1.898 MB / 0.8108 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.483e-06/0.8912, allocations: 0 / 0.8108 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004243/0.8954, allocations: 1.496 MB / 0.8122 GB, free: 0.8281 MB / 0.6231 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 (80): * Single equations (assignments): 74 * 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 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001575/0.897, allocations: 0.8243 MB / 0.813 GB, free: 12 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01282/0.9099, allocations: 3.761 MB / 0.8167 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/0.9099, allocations: 0.625 kB / 0.8167 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004121/0.9141, allocations: 1.106 MB / 0.8178 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007171/0.9213, allocations: 1.473 MB / 0.8192 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.9324, allocations: 5.81 MB / 0.8249 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.9336, allocations: 1.77 MB / 0.8266 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003217/0.9369, allocations: 0.6624 MB / 0.8273 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005562/0.9374, allocations: 231.2 kB / 0.8275 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.9374, allocations: 4 kB / 0.8275 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of Templates: time 0.3272/1.265, allocations: 72.03 MB / 0.8978 GB, free: 178.8 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)