Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000903/0.000903, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001055/0.001055, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9572/0.9572, allocations: 135.3 MB / 426.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 8 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1615, allocations: 82.31 MB / 0.588 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.4165/0.578, allocations: 127.9 MB / 0.7129 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03951/0.6175, allocations: 24.88 MB / 0.7372 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007347/0.6249, allocations: 119.6 kB / 0.7373 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006325/0.6313, allocations: 1.415 MB / 0.7387 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01691/0.6482, allocations: 4.148 MB / 0.7427 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01191/0.6602, allocations: 3.196 MB / 0.7459 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01667/0.6769, allocations: 11.43 MB / 0.757 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00599/0.6829, allocations: 2.531 MB / 0.7595 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007412/0.6903, allocations: 2.769 MB / 0.7622 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005079/0.6955, allocations: 2.309 MB / 0.7645 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.6967, allocations: 128 kB / 0.7646 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008453/0.7052, allocations: 2.483 MB / 0.767 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00194/0.7072, allocations: 0.6182 MB / 0.7676 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005312/0.7125, allocations: 1.72 MB / 0.7693 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01494/0.7275, allocations: 6.05 MB / 0.7752 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7275, allocations: 0 / 0.7752 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.624e-06/0.7275, allocations: 4 kB / 0.7752 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001873/0.7277, allocations: 0 / 0.7752 GB, free: 12.5 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.009257/0.737, allocations: 3.372 MB / 0.7785 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.7371, allocations: 8.031 kB / 0.7785 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.7487, allocations: 1.459 MB / 0.7799 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006257/0.755, allocations: 2.937 MB / 0.7828 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003738/0.7554, allocations: 255.9 kB / 0.783 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007249/0.7561, allocations: 236 kB / 0.7833 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009034/0.7652, allocations: 3.24 MB / 0.7864 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.032e-05/0.7653, allocations: 11.84 kB / 0.7864 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000408/0.7657, allocations: 103.9 kB / 0.7865 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.181e-05/0.7658, allocations: 75.86 kB / 0.7866 GB, free: 448 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009774/0.7755, allocations: 2.901 MB / 0.7894 GB, free: 13.52 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.02117/0.7967, allocations: 13.47 MB / 0.8026 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004466/0.8012, allocations: 1.524 MB / 0.8041 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003287/0.8045, allocations: 0.9644 MB / 0.805 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00192/0.8065, allocations: 1.782 MB / 0.8068 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003999/0.8105, allocations: 1.252 MB / 0.808 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=130): time 3.546e-06/0.8105, allocations: 0 / 0.808 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=130): time 0.0424/0.8529, allocations: 6.023 MB / 0.8139 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002695/0.8532, allocations: 0.5766 MB / 0.8144 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004318/0.8575, allocations: 2.512 MB / 0.8169 GB, free: 148 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003588/0.8579, allocations: 61.7 kB / 0.8169 GB, free: 80 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.8591, allocations: 1.344 MB / 0.8183 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005179/0.8597, allocations: 461.5 kB / 0.8187 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.8599, allocations: 145.6 kB / 0.8188 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.86, allocations: 305.1 kB / 0.8191 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003956/0.864, allocations: 1.027 MB / 0.8201 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004383/0.8684, allocations: 1.626 MB / 0.8217 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007451/0.8759, allocations: 2.342 MB / 0.824 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.8759, allocations: 4 kB / 0.824 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02437/0.9003, allocations: 4.217 MB / 0.8281 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003649/0.9007, allocations: 489.8 kB / 0.8286 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.9007, allocations: 12 kB / 0.8286 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003417/0.9041, allocations: 0.9556 MB / 0.8295 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/0.9071, allocations: 0.5031 MB / 0.83 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/0.9105, allocations: 1.996 MB / 0.832 GB, free: 0 / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005897/0.9164, allocations: 0.5215 MB / 0.8325 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006554/0.9171, allocations: 103.9 kB / 0.8326 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.9171, allocations: 6.656 kB / 0.8326 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02328/0.9404, allocations: 3.938 MB / 0.8364 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/0.9405, allocations: 12 kB / 0.8364 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003433/0.9439, allocations: 0.9622 MB / 0.8374 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/0.9469, allocations: 0.4953 MB / 0.8379 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003478/0.9504, allocations: 1.994 MB / 0.8398 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004773/0.9552, allocations: 470.8 kB / 0.8403 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/0.9555, allocations: 108.1 kB / 0.8404 GB, free: 7.34 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (186): * Single equations (assignments): 183 * 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 {(2,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.001625/0.9572, allocations: 0.7036 MB / 0.8411 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006174/0.9578, allocations: 272.7 kB / 0.8413 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.9694, allocations: 2.577 MB / 0.8438 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.592e-05/0.9695, allocations: 16 kB / 0.8438 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.9695, allocations: 4 kB / 0.8439 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01072/0.9803, allocations: 2.193 MB / 0.846 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02817/1.008, allocations: 7.568 MB / 0.8534 GB, free: 9.746 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/1.009, allocations: 8.656 kB / 0.8534 GB, free: 9.738 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/1.01, allocations: 299.6 kB / 0.8537 GB, free: 9.445 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003328/1.014, allocations: 0.9464 MB / 0.8546 GB, free: 8.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/1.014, allocations: 51.88 kB / 0.8547 GB, free: 8.449 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/1.017, allocations: 1.978 MB / 0.8566 GB, free: 6.422 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/1.017, allocations: 16 kB / 0.8566 GB, free: 6.406 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/1.029, allocations: 3.73 MB / 0.8602 GB, free: 2.547 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00191/1.031, allocations: 0.669 MB / 0.8609 GB, free: 1.855 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005644/1.032, allocations: 39.98 kB / 0.8609 GB, free: 1.816 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00351/1.035, allocations: 295.5 kB / 0.8612 GB, free: 1.527 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/1.036, allocations: 120.6 kB / 0.8613 GB, free: 1.406 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/1.036, allocations: 71.92 kB / 0.8614 GB, free: 1.336 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.3686/1.404, allocations: 1.764 MB / 0.8631 GB, free: 209.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.32e-07/1.405, allocations: 0 / 0.8631 GB, free: 209.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005063/1.41, allocations: 1.679 MB / 0.8648 GB, free: 209.7 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (88): * Single equations (assignments): 82 * 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), (2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001519/1.411, allocations: 0.7947 MB / 0.8655 GB, free: 209.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.423, allocations: 3.788 MB / 0.8692 GB, free: 209.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/1.423, allocations: 3.812 kB / 0.8692 GB, free: 209.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003699/1.427, allocations: 1.11 MB / 0.8703 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01/1.437, allocations: 1.43 MB / 0.8717 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/1.448, allocations: 6.268 MB / 0.8778 GB, free: 206.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/1.449, allocations: 1.717 MB / 0.8795 GB, free: 205.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003582/1.452, allocations: 0.7013 MB / 0.8802 GB, free: 205.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/1.453, allocations: 243.8 kB / 0.8804 GB, free: 205.5 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/1.453, allocations: 0 / 0.8804 GB, free: 205.5 MB / 0.67 GB Notification: Performance of Templates: time 0.1126/1.566, allocations: 70.5 MB / 0.9493 GB, free: 171.4 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)