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.00114/0.001139, allocations: 112.8 kB / 16.41 MB, free: 6.484 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.001169/0.001169, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.801/0.801, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 62.41 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1563, allocations: 80.92 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.5427/0.699, allocations: 130.8 MB / 0.7931 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03369/0.7328, allocations: 24.97 MB / 0.8175 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007272/0.7401, allocations: 132.9 kB / 0.8176 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005672/0.7458, allocations: 1.735 MB / 0.8193 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01466/0.7605, allocations: 4.484 MB / 0.8237 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01052/0.7711, allocations: 3.526 MB / 0.8271 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01463/0.7857, allocations: 8.952 MB / 0.8358 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006727/0.7925, allocations: 3.203 MB / 0.839 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009653/0.8022, allocations: 3.522 MB / 0.8424 GB, free: 284 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005737/0.808, allocations: 2.478 MB / 0.8448 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001843/0.8099, allocations: 388 kB / 0.8452 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009304/0.8192, allocations: 2.892 MB / 0.848 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001929/0.8212, allocations: 0.8838 MB / 0.8489 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005166/0.8263, allocations: 1.98 MB / 0.8508 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01476/0.8411, allocations: 6.368 MB / 0.857 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.8412, allocations: 4 kB / 0.857 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8412, allocations: 0 / 0.857 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002078/0.8414, allocations: 0 / 0.857 GB, free: 1.258 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.0111/0.8525, allocations: 4.067 MB / 0.861 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.8526, allocations: 9.109 kB / 0.861 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.8641, allocations: 1.377 MB / 0.8624 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007581/0.8717, allocations: 2.992 MB / 0.8653 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004059/0.8722, allocations: 255.9 kB / 0.8655 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008942/0.8731, allocations: 236 kB / 0.8658 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.8839, allocations: 3.191 MB / 0.8689 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/0.884, allocations: 7.938 kB / 0.8689 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006709/0.8847, allocations: 103.9 kB / 0.869 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-05/0.8848, allocations: 71.98 kB / 0.869 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.8955, allocations: 2.831 MB / 0.8718 GB, free: 1.723 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.02519/0.9207, allocations: 13.59 MB / 0.8851 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004939/0.9257, allocations: 1.48 MB / 0.8865 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003433/0.9292, allocations: 0.9159 MB / 0.8874 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0021/0.9313, allocations: 1.778 MB / 0.8892 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00431/0.9356, allocations: 1.188 MB / 0.8903 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=126): time 5.24e-06/0.9357, allocations: 0 / 0.8903 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=132): time 0.05792/0.9936, allocations: 11.66 MB / 0.9017 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003312/0.994, allocations: 0.5805 MB / 0.9023 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00529/0.9993, allocations: 2.639 MB / 0.9049 GB, free: 14.46 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000453/0.9998, allocations: 65.7 kB / 0.9049 GB, free: 14.39 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001508/1.001, allocations: 1.318 MB / 0.9062 GB, free: 13.06 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007985/1.002, allocations: 465.4 kB / 0.9066 GB, free: 12.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/1.003, allocations: 462.9 kB / 0.9071 GB, free: 12.14 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.003, allocations: 305.1 kB / 0.9074 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004023/1.007, allocations: 0.9845 MB / 0.9083 GB, free: 10.85 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004627/1.012, allocations: 1.577 MB / 0.9099 GB, free: 9.023 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007865/1.02, allocations: 2.252 MB / 0.9121 GB, free: 6.598 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/1.02, allocations: 4 kB / 0.9121 GB, free: 6.594 MB / 0.67 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02484/1.045, allocations: 4.17 MB / 0.9162 GB, free: 2.398 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.898e-05/1.045, allocations: 37.7 kB / 0.9162 GB, free: 2.355 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/1.045, allocations: 12 kB / 0.9162 GB, free: 2.344 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004182/1.049, allocations: 1.149 MB / 0.9173 GB, free: 1.191 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/1.052, allocations: 459.2 kB / 0.9178 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004508/1.057, allocations: 2.38 MB / 0.9201 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004964/1.062, allocations: 295.5 kB / 0.9204 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000454/1.062, allocations: 107.9 kB / 0.9205 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005372/1.067, allocations: 1.495 MB / 0.9219 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004546/1.072, allocations: 1.565 MB / 0.9235 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007528/1.08, allocations: 2.22 MB / 0.9256 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.079e-05/1.08, allocations: 4 kB / 0.9256 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02478/1.104, allocations: 4.126 MB / 0.9297 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/1.105, allocations: 38.7 kB / 0.9297 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/1.105, allocations: 12 kB / 0.9297 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004184/1.109, allocations: 1.161 MB / 0.9308 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/1.111, allocations: 447.2 kB / 0.9313 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004459/1.116, allocations: 2.385 MB / 0.9336 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004937/1.121, allocations: 308.2 kB / 0.9339 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004446/1.121, allocations: 107.9 kB / 0.934 GB, free: 15.55 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.0009063/1.122, allocations: 303.8 kB / 0.9343 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/1.123, allocations: 284.6 kB / 0.9346 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009135/1.133, allocations: 2.391 MB / 0.9369 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-05/1.133, allocations: 16 kB / 0.9369 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/1.133, allocations: 0 / 0.9369 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007237/1.14, allocations: 2.018 MB / 0.9389 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02303/1.163, allocations: 7.016 MB / 0.9457 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-05/1.163, allocations: 4 kB / 0.9457 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/1.165, allocations: 280.1 kB / 0.946 GB, free: 3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003709/1.169, allocations: 1.012 MB / 0.947 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002621/1.169, allocations: 47.95 kB / 0.947 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003776/1.173, allocations: 2.156 MB / 0.9491 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.173, allocations: 11.94 kB / 0.9492 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/1.187, allocations: 3.753 MB / 0.9528 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00175/1.189, allocations: 0.5834 MB / 0.9534 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009669/1.19, allocations: 39.98 kB / 0.9534 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003798/1.194, allocations: 231.6 kB / 0.9536 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/1.194, allocations: 120.7 kB / 0.9538 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/1.194, allocations: 71.92 kB / 0.9538 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004169/1.198, allocations: 1.855 MB / 0.9556 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.51e-07/1.198, allocations: 0 / 0.9556 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006104/1.205, allocations: 1.496 MB / 0.9571 GB, free: 7.438 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.002419/1.207, allocations: 0.8291 MB / 0.9579 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01413/1.221, allocations: 3.744 MB / 0.9616 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/1.221, allocations: 5.438 kB / 0.9616 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003996/1.225, allocations: 1.036 MB / 0.9626 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008994/1.234, allocations: 1.57 MB / 0.9641 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/1.247, allocations: 5.014 MB / 0.969 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/1.249, allocations: 1.708 MB / 0.9707 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/1.25, allocations: 275.2 kB / 0.9709 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of SimCode: time 7.71e-07/1.25, allocations: 0 / 0.9709 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of Templates: time 0.1021/1.352, allocations: 83.22 MB / 1.052 GB, free: 6.094 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)