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.001348/0.001348, allocations: 105 kB / 16.41 MB, free: 6.465 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.001515/0.001515, allocations: 187 kB / 17.34 MB, free: 5.719 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7916/0.7916, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.02 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1573, allocations: 80.92 MB / 0.6653 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.5261/0.6835, allocations: 130.8 MB / 0.7931 GB, free: 18.85 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03133/0.7149, allocations: 24.96 MB / 0.8175 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00661/0.7215, allocations: 138.4 kB / 0.8176 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005075/0.7267, allocations: 1.795 MB / 0.8193 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01373/0.7405, allocations: 4.706 MB / 0.8239 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009346/0.7498, allocations: 3.527 MB / 0.8274 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01319/0.763, allocations: 8.973 MB / 0.8361 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006212/0.7693, allocations: 3.198 MB / 0.8393 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009006/0.7784, allocations: 3.527 MB / 0.8427 GB, free: 20 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005212/0.7836, allocations: 2.474 MB / 0.8451 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001589/0.7852, allocations: 392 kB / 0.8455 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008191/0.7934, allocations: 2.89 MB / 0.8483 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001688/0.7951, allocations: 0.8839 MB / 0.8492 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004672/0.7998, allocations: 1.991 MB / 0.8511 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.8135, allocations: 6.36 MB / 0.8573 GB, free: 1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.8135, allocations: 0 / 0.8573 GB, free: 1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8135, allocations: 0 / 0.8573 GB, free: 1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002084/0.8138, allocations: 4 kB / 0.8573 GB, free: 0.9961 MB / 0.6075 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.0106/0.8244, allocations: 4.063 MB / 0.8613 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.8244, allocations: 9.109 kB / 0.8613 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.8358, allocations: 1.377 MB / 0.8627 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006228/0.8421, allocations: 2.988 MB / 0.8656 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/0.8424, allocations: 255.9 kB / 0.8658 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004613/0.8428, allocations: 232 kB / 0.8661 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0079/0.8507, allocations: 3.191 MB / 0.8692 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.748e-05/0.8508, allocations: 7.938 kB / 0.8692 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003147/0.8511, allocations: 111.9 kB / 0.8693 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-05/0.8512, allocations: 75.86 kB / 0.8694 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009351/0.8606, allocations: 2.831 MB / 0.8721 GB, free: 1.461 MB / 0.6231 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.02167/0.8823, allocations: 13.6 MB / 0.8854 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004691/0.887, allocations: 1.472 MB / 0.8868 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003295/0.8903, allocations: 0.9198 MB / 0.8877 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001787/0.8921, allocations: 1.773 MB / 0.8895 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003926/0.8961, allocations: 1.185 MB / 0.8906 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=126): time 6.532e-06/0.8961, allocations: 0 / 0.8906 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=132): time 0.05717/0.9533, allocations: 11.67 MB / 0.902 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002901/0.9536, allocations: 0.5805 MB / 0.9026 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005572/0.9592, allocations: 2.639 MB / 0.9052 GB, free: 14.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004556/0.9597, allocations: 65.64 kB / 0.9052 GB, free: 14.12 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.9612, allocations: 1.322 MB / 0.9065 GB, free: 12.79 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007056/0.962, allocations: 465.5 kB / 0.907 GB, free: 12.33 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/0.9631, allocations: 458.9 kB / 0.9074 GB, free: 11.88 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.9632, allocations: 301.1 kB / 0.9077 GB, free: 11.58 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003992/0.9672, allocations: 0.9845 MB / 0.9086 GB, free: 10.59 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004621/0.9719, allocations: 1.577 MB / 0.9102 GB, free: 8.766 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007573/0.9795, allocations: 2.259 MB / 0.9124 GB, free: 6.332 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/0.9795, allocations: 4 kB / 0.9124 GB, free: 6.328 MB / 0.67 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02399/1.004, allocations: 4.161 MB / 0.9165 GB, free: 2.141 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.571e-05/1.004, allocations: 37.7 kB / 0.9165 GB, free: 2.098 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/1.004, allocations: 12.84 kB / 0.9165 GB, free: 2.086 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00407/1.008, allocations: 1.16 MB / 0.9176 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/1.01, allocations: 447.2 kB / 0.9181 GB, free: 496 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004204/1.015, allocations: 2.384 MB / 0.9204 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004566/1.019, allocations: 295.5 kB / 0.9207 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/1.02, allocations: 107.9 kB / 0.9208 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004982/1.025, allocations: 1.491 MB / 0.9222 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004335/1.029, allocations: 1.557 MB / 0.9238 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007092/1.036, allocations: 2.228 MB / 0.9259 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.828e-06/1.036, allocations: 0 / 0.9259 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02342/1.059, allocations: 4.127 MB / 0.93 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/1.06, allocations: 33.7 kB / 0.93 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/1.06, allocations: 12 kB / 0.93 GB, free: 3.758 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003955/1.064, allocations: 1.169 MB / 0.9312 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002637/1.066, allocations: 455.2 kB / 0.9316 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004235/1.07, allocations: 2.377 MB / 0.9339 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004898/1.075, allocations: 316 kB / 0.9342 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003949/1.076, allocations: 103.9 kB / 0.9343 GB, free: 15.3 MB / 0.7012 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0007967/1.077, allocations: 299.8 kB / 0.9346 GB, free: 15 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/1.078, allocations: 280.9 kB / 0.9349 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008658/1.086, allocations: 2.406 MB / 0.9372 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/1.086, allocations: 12 kB / 0.9372 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/1.086, allocations: 4 kB / 0.9372 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006879/1.093, allocations: 2.01 MB / 0.9392 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02248/1.116, allocations: 7.017 MB / 0.946 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/1.116, allocations: 12.03 kB / 0.9461 GB, free: 3.004 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/1.118, allocations: 267.6 kB / 0.9463 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003496/1.121, allocations: 1.025 MB / 0.9473 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/1.121, allocations: 47.95 kB / 0.9474 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003703/1.125, allocations: 2.15 MB / 0.9495 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/1.125, allocations: 11.94 kB / 0.9495 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/1.139, allocations: 3.745 MB / 0.9531 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/1.141, allocations: 0.5873 MB / 0.9537 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009641/1.142, allocations: 36 kB / 0.9537 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003778/1.146, allocations: 231.6 kB / 0.954 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/1.146, allocations: 120.6 kB / 0.9541 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002257/1.146, allocations: 71.92 kB / 0.9541 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004431/1.151, allocations: 1.863 MB / 0.956 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/1.151, allocations: 0 / 0.956 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006343/1.157, allocations: 1.496 MB / 0.9574 GB, free: 7.176 MB / 0.7169 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 (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002358/1.159, allocations: 0.8067 MB / 0.9582 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01408/1.173, allocations: 3.772 MB / 0.9619 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/1.173, allocations: 4.438 kB / 0.9619 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004059/1.178, allocations: 1.025 MB / 0.9629 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008896/1.186, allocations: 1.576 MB / 0.9644 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.199, allocations: 5.01 MB / 0.9693 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/1.201, allocations: 1.708 MB / 0.971 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.202, allocations: 271.2 kB / 0.9713 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/1.202, allocations: 3.938 kB / 0.9713 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of Templates: time 0.1078/1.31, allocations: 83.22 MB / 1.053 GB, free: 5.832 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (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)