Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009081/0.0009081, allocations: 99.23 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.0009774/0.0009775, 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 1.178/1.178, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.79/0.79, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002986, allocations: 12 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 82.32 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.3106/0.4547, allocations: 109.4 MB / 0.694 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02909/0.4839, allocations: 21.31 MB / 0.7148 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005518/0.4894, allocations: 115.7 kB / 0.7149 GB, free: 56 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005795/0.4953, allocations: 1.456 MB / 0.7163 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0151/0.5104, allocations: 4.184 MB / 0.7204 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009292/0.5197, allocations: 3.118 MB / 0.7235 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009912/0.5296, allocations: 5.076 MB / 0.7284 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003688/0.5333, allocations: 2.281 MB / 0.7307 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005649/0.539, allocations: 2.421 MB / 0.733 GB, free: 5.012 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003286/0.5423, allocations: 1.571 MB / 0.7346 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005616/0.5429, allocations: 133.6 kB / 0.7347 GB, free: 4.078 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005612/0.5485, allocations: 1.749 MB / 0.7364 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007556/0.5493, allocations: 0.5685 MB / 0.7369 GB, free: 2.949 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001364/0.5507, allocations: 0.7296 MB / 0.7377 GB, free: 2.328 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006937/0.5576, allocations: 4.562 MB / 0.7421 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5577, allocations: 0 / 0.7421 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5577, allocations: 0 / 0.7421 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001064/0.5578, allocations: 0 / 0.7421 GB, free: 13.76 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006052/0.5638, allocations: 3.352 MB / 0.7454 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.5639, allocations: 12.03 kB / 0.7454 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.574, allocations: 1.451 MB / 0.7468 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004852/0.5789, allocations: 2.721 MB / 0.7495 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.5792, allocations: 251.9 kB / 0.7497 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003437/0.5795, allocations: 235.9 kB / 0.7499 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00679/0.5863, allocations: 3.203 MB / 0.7531 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.5864, allocations: 11.94 kB / 0.7531 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002529/0.5866, allocations: 108 kB / 0.7532 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/0.5867, allocations: 63.94 kB / 0.7532 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008282/0.595, allocations: 2.881 MB / 0.7561 GB, free: 15.08 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.01681/0.6118, allocations: 13.74 MB / 0.7695 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003905/0.6157, allocations: 1.507 MB / 0.7709 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00156/0.6173, allocations: 1.781 MB / 0.7727 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003291/0.6206, allocations: 1.208 MB / 0.7739 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=126): time 2.815e-06/0.6206, allocations: 4 kB / 0.7739 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=130): time 0.04959/0.6702, allocations: 11.81 MB / 0.7854 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002393/0.6705, allocations: 0.5882 MB / 0.786 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/0.6743, allocations: 2.686 MB / 0.7886 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002675/0.6745, allocations: 63.56 kB / 0.7887 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.6756, allocations: 1.322 MB / 0.79 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004375/0.6761, allocations: 457.5 kB / 0.7904 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.6762, allocations: 32 kB / 0.7904 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6763, allocations: 369.9 kB / 0.7908 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003518/0.6798, allocations: 0.9993 MB / 0.7917 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003881/0.6837, allocations: 1.581 MB / 0.7933 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003638/0.6874, allocations: 1.132 MB / 0.7944 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.6874, allocations: 7.938 kB / 0.7944 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.022/0.7094, allocations: 4.229 MB / 0.7985 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.002048/0.7115, allocations: 5.248 MB / 0.8037 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.7115, allocations: 12 kB / 0.8037 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003804/0.7154, allocations: 1.17 MB / 0.8048 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/0.7179, allocations: 471.2 kB / 0.8053 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/0.7215, allocations: 2.382 MB / 0.8076 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004446/0.726, allocations: 411.2 kB / 0.808 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/0.7263, allocations: 107.9 kB / 0.8081 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.7263, allocations: 4 kB / 0.8081 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02131/0.7476, allocations: 3.957 MB / 0.812 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/0.7476, allocations: 12 kB / 0.812 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003543/0.7512, allocations: 1.165 MB / 0.8131 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/0.7537, allocations: 459.2 kB / 0.8135 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003662/0.7573, allocations: 2.378 MB / 0.8159 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004219/0.7616, allocations: 383.3 kB / 0.8162 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.7618, allocations: 107.9 kB / 0.8163 GB, free: 15.11 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 (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.001395/0.7632, allocations: 0.692 MB / 0.817 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005702/0.7638, allocations: 284.6 kB / 0.8173 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/0.7787, allocations: 3.034 MB / 0.8202 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.251e-05/0.7788, allocations: 20 kB / 0.8203 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.7788, allocations: 4 kB / 0.8203 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0137/0.7925, allocations: 2.638 MB / 0.8228 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/0.8123, allocations: 7.045 MB / 0.8297 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/0.8123, allocations: 11.95 kB / 0.8297 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/0.8139, allocations: 280.2 kB / 0.83 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003184/0.8171, allocations: 1.027 MB / 0.831 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.8173, allocations: 47.95 kB / 0.831 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003176/0.8205, allocations: 2.158 MB / 0.8332 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.8205, allocations: 12.19 kB / 0.8332 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/0.8388, allocations: 5.018 MB / 0.8381 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/0.8409, allocations: 0.6769 MB / 0.8387 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000884/0.8418, allocations: 40 kB / 0.8388 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003522/0.8453, allocations: 302.2 kB / 0.8391 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.8456, allocations: 120.6 kB / 0.8392 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001785/0.8458, allocations: 67.92 kB / 0.8392 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002872/0.8486, allocations: 1.898 MB / 0.8411 GB, free: 5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.8486, allocations: 0 / 0.8411 GB, free: 5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00427/0.8529, allocations: 1.5 MB / 0.8426 GB, free: 3.5 MB / 0.6544 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.001444/0.8544, allocations: 0.8018 MB / 0.8433 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01157/0.866, allocations: 3.761 MB / 0.847 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/0.866, allocations: 8.75 kB / 0.847 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003517/0.8695, allocations: 1.102 MB / 0.8481 GB, free: 13.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006297/0.8758, allocations: 1.47 MB / 0.8495 GB, free: 12.36 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.886, allocations: 5.821 MB / 0.8552 GB, free: 6.426 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.8872, allocations: 1.774 MB / 0.8569 GB, free: 4.621 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003103/0.8903, allocations: 0.6554 MB / 0.8576 GB, free: 3.969 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/0.8909, allocations: 235.3 kB / 0.8578 GB, free: 3.738 MB / 0.67 GB Notification: Performance of SimCode: time 8.01e-07/0.8909, allocations: 0 / 0.8578 GB, free: 3.738 MB / 0.67 GB Notification: Performance of Templates: time 0.3206/1.212, allocations: 72.03 MB / 0.9282 GB, free: 186.9 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: