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.0009468/0.0009468, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005777/0.005777, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9714/0.9714, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003322, allocations: 8.781 kB / 0.5076 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1657, allocations: 82.3 MB / 0.588 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.5421/0.7078, allocations: 127.9 MB / 0.7129 GB, free: 8 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0643/0.7722, allocations: 24.88 MB / 0.7372 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008263/0.7805, allocations: 124.2 kB / 0.7373 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006218/0.7867, allocations: 1.414 MB / 0.7387 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01792/0.8047, allocations: 4.148 MB / 0.7427 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01121/0.8159, allocations: 3.185 MB / 0.7458 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01484/0.8308, allocations: 11.37 MB / 0.7569 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005206/0.836, allocations: 2.526 MB / 0.7594 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006636/0.8427, allocations: 2.757 MB / 0.7621 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004539/0.8472, allocations: 2.306 MB / 0.7643 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.8483, allocations: 128 kB / 0.7645 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007428/0.8557, allocations: 2.472 MB / 0.7669 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001281/0.857, allocations: 0.6221 MB / 0.7675 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003747/0.8608, allocations: 1.708 MB / 0.7691 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.8733, allocations: 6.038 MB / 0.775 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8733, allocations: 0 / 0.775 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8733, allocations: 0 / 0.775 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001986/0.8735, allocations: 0 / 0.775 GB, free: 12.63 MB / 0.5919 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.008844/0.8824, allocations: 3.362 MB / 0.7783 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.8825, allocations: 12.03 kB / 0.7783 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.8941, allocations: 1.455 MB / 0.7798 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005378/0.8995, allocations: 2.945 MB / 0.7826 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.8998, allocations: 251.9 kB / 0.7829 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004122/0.9002, allocations: 240 kB / 0.7831 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007572/0.9078, allocations: 3.237 MB / 0.7863 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.708e-05/0.9079, allocations: 7.938 kB / 0.7863 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002674/0.9081, allocations: 104 kB / 0.7864 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.84e-05/0.9082, allocations: 67.92 kB / 0.7864 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009267/0.9175, allocations: 2.905 MB / 0.7893 GB, free: 13.65 MB / 0.6075 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.02008/0.9376, allocations: 13.65 MB / 0.8026 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004381/0.942, allocations: 1.506 MB / 0.8041 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003273/0.9453, allocations: 0.9393 MB / 0.805 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001873/0.9472, allocations: 1.781 MB / 0.8067 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003783/0.951, allocations: 1.219 MB / 0.8079 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=126): time 3.407e-06/0.951, allocations: 4 kB / 0.8079 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of matching and sorting (n=132): time 0.05724/1.008, allocations: 11.94 MB / 0.8196 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003032/1.009, allocations: 0.5805 MB / 0.8202 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006315/1.015, allocations: 2.608 MB / 0.8227 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005979/1.016, allocations: 61.7 kB / 0.8228 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001914/1.018, allocations: 1.327 MB / 0.8241 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009584/1.018, allocations: 461.4 kB / 0.8245 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004123/1.019, allocations: 145.6 kB / 0.8246 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.019, allocations: 305.1 kB / 0.8249 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006229/1.025, allocations: 1.011 MB / 0.8259 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006899/1.032, allocations: 1.608 MB / 0.8275 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01433/1.047, allocations: 2.309 MB / 0.8297 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.42e-05/1.047, allocations: 4 kB / 0.8297 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.04463/1.091, allocations: 4.26 MB / 0.8339 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005837/1.092, allocations: 0.4923 MB / 0.8344 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.67e-05/1.092, allocations: 16 kB / 0.8344 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004379/1.096, allocations: 1.16 MB / 0.8355 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002737/1.099, allocations: 471.2 kB / 0.836 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004191/1.103, allocations: 2.406 MB / 0.8383 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004987/1.108, allocations: 411.1 kB / 0.8387 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003894/1.109, allocations: 107.9 kB / 0.8388 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.109, allocations: 4 kB / 0.8388 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02438/1.133, allocations: 3.964 MB / 0.8427 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.764e-05/1.133, allocations: 12.97 kB / 0.8427 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004524/1.138, allocations: 1.175 MB / 0.8439 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/1.141, allocations: 463.2 kB / 0.8443 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004758/1.145, allocations: 2.383 MB / 0.8466 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005248/1.151, allocations: 376.8 kB / 0.847 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005086/1.151, allocations: 103.9 kB / 0.8471 GB, free: 280 kB / 0.6544 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.002408/1.154, allocations: 0.6976 MB / 0.8478 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/1.155, allocations: 280.6 kB / 0.848 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/1.165, allocations: 2.478 MB / 0.8505 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.363e-05/1.165, allocations: 12 kB / 0.8505 GB, free: 12.78 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.165, allocations: 4.25 kB / 0.8505 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008073/1.173, allocations: 2.068 MB / 0.8525 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02635/1.199, allocations: 7.1 MB / 0.8594 GB, free: 3.375 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.76e-05/1.2, allocations: 11.94 kB / 0.8594 GB, free: 3.363 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/1.202, allocations: 284.2 kB / 0.8597 GB, free: 3.086 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003998/1.206, allocations: 1.031 MB / 0.8607 GB, free: 2.055 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003202/1.206, allocations: 47.94 kB / 0.8608 GB, free: 2.008 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3683/1.574, allocations: 2.158 MB / 0.8629 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-05/1.574, allocations: 16.41 kB / 0.8629 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/1.589, allocations: 3.843 MB / 0.8666 GB, free: 209.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/1.591, allocations: 0.6563 MB / 0.8673 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009585/1.592, allocations: 38.84 kB / 0.8673 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003934/1.596, allocations: 294.9 kB / 0.8676 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/1.596, allocations: 123.1 kB / 0.8677 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/1.597, allocations: 73.61 kB / 0.8678 GB, free: 209.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003861/1.601, allocations: 1.834 MB / 0.8696 GB, free: 209 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.3e-07/1.601, allocations: 0 / 0.8696 GB, free: 209 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005847/1.606, allocations: 1.476 MB / 0.871 GB, free: 209 MB / 0.67 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.002305/1.609, allocations: 0.7847 MB / 0.8718 GB, free: 208.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01285/1.622, allocations: 3.821 MB / 0.8755 GB, free: 208.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/1.622, allocations: 5.969 kB / 0.8755 GB, free: 208.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003865/1.626, allocations: 1.109 MB / 0.8766 GB, free: 207.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01118/1.637, allocations: 1.572 MB / 0.8781 GB, free: 207.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/1.649, allocations: 6.132 MB / 0.8841 GB, free: 204.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/1.65, allocations: 1.72 MB / 0.8858 GB, free: 203.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004333/1.655, allocations: 0.6553 MB / 0.8864 GB, free: 203.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008723/1.656, allocations: 245.5 kB / 0.8867 GB, free: 203.3 MB / 0.67 GB Notification: Performance of SimCode: time 9.12e-07/1.656, allocations: 0 / 0.8867 GB, free: 203.3 MB / 0.67 GB Notification: Performance of Templates: time 0.1286/1.784, allocations: 76.18 MB / 0.9611 GB, free: 159 MB / 0.67 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)