Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009165/0.0009166, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001029, allocations: 180 kB / 16.92 MB, free: 6.652 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.924/0.924, allocations: 135.3 MB / 427.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 8 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.159, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.382/0.541, allocations: 127.9 MB / 0.7135 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03825/0.5793, allocations: 24.96 MB / 0.7379 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006407/0.5858, allocations: 119.7 kB / 0.738 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005491/0.5913, allocations: 1.421 MB / 0.7394 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01505/0.6064, allocations: 4.156 MB / 0.7434 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01/0.6164, allocations: 3.187 MB / 0.7465 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01462/0.631, allocations: 11.42 MB / 0.7577 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004651/0.6357, allocations: 2.519 MB / 0.7602 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007022/0.6428, allocations: 2.761 MB / 0.7628 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004844/0.6477, allocations: 2.302 MB / 0.7651 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000966/0.6487, allocations: 128 kB / 0.7652 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007401/0.6561, allocations: 2.483 MB / 0.7676 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.6572, allocations: 0.6143 MB / 0.7682 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003404/0.6607, allocations: 1.708 MB / 0.7699 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008575/0.6692, allocations: 4.83 MB / 0.7746 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.6693, allocations: 3.938 kB / 0.7746 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6693, allocations: 0 / 0.7746 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000121/0.6694, allocations: 0 / 0.7746 GB, free: 13.7 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.007137/0.6766, allocations: 3.36 MB / 0.7779 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.6766, allocations: 8.031 kB / 0.7779 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.6867, allocations: 1.369 MB / 0.7793 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005415/0.6921, allocations: 2.93 MB / 0.7821 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/0.6924, allocations: 251.9 kB / 0.7824 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004477/0.6929, allocations: 236 kB / 0.7826 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007633/0.7005, allocations: 3.169 MB / 0.7857 GB, free: 2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.211e-05/0.7006, allocations: 4 kB / 0.7857 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002955/0.7009, allocations: 99.94 kB / 0.7858 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.573e-05/0.701, allocations: 75.92 kB / 0.7859 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008947/0.7099, allocations: 2.788 MB / 0.7886 GB, free: 15.02 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.0219/0.7319, allocations: 13.31 MB / 0.8016 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004198/0.7361, allocations: 1.417 MB / 0.803 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003006/0.7392, allocations: 0.901 MB / 0.8038 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001915/0.7411, allocations: 1.785 MB / 0.8056 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003613/0.7448, allocations: 1.177 MB / 0.8067 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=126): time 5.38e-06/0.7448, allocations: 0 / 0.8067 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126): time 0.02246/0.7673, allocations: 4.279 MB / 0.8109 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002863/0.7676, allocations: 0.5727 MB / 0.8115 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005434/0.773, allocations: 2.513 MB / 0.8139 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004646/0.7735, allocations: 65.69 kB / 0.814 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001414/0.775, allocations: 1.337 MB / 0.8153 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007328/0.7757, allocations: 445.6 kB / 0.8157 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/0.7762, allocations: 149.6 kB / 0.8159 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.7763, allocations: 301.1 kB / 0.8161 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003847/0.7801, allocations: 0.9797 MB / 0.8171 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004275/0.7844, allocations: 1.556 MB / 0.8186 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007219/0.7917, allocations: 2.23 MB / 0.8208 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.33e-05/0.7918, allocations: 4 kB / 0.8208 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01298/0.8047, allocations: 3.101 MB / 0.8238 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004898/0.8053, allocations: 475.8 kB / 0.8243 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/0.8053, allocations: 12 kB / 0.8243 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002806/0.8082, allocations: 0.7267 MB / 0.825 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/0.8112, allocations: 0.4953 MB / 0.8255 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.8138, allocations: 1.806 MB / 0.8273 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005216/0.819, allocations: 0.502 MB / 0.8277 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005452/0.8196, allocations: 107.9 kB / 0.8278 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.8197, allocations: 4 kB / 0.8279 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01133/0.831, allocations: 2.821 MB / 0.8306 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-05/0.8311, allocations: 12 kB / 0.8306 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002586/0.8337, allocations: 0.7164 MB / 0.8313 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/0.8366, allocations: 0.4992 MB / 0.8318 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.8391, allocations: 1.802 MB / 0.8336 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004637/0.8438, allocations: 456.7 kB / 0.834 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004212/0.8442, allocations: 99.91 kB / 0.8341 GB, free: 14.39 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,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001879/0.8461, allocations: 0.6958 MB / 0.8348 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009622/0.8471, allocations: 276.7 kB / 0.835 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.859, allocations: 2.598 MB / 0.8376 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.733e-05/0.8591, allocations: 16 kB / 0.8376 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.8591, allocations: 4 kB / 0.8376 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01077/0.8699, allocations: 2.224 MB / 0.8398 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/0.8872, allocations: 6.518 MB / 0.8461 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/0.8873, allocations: 8 kB / 0.8461 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/0.8892, allocations: 304.2 kB / 0.8464 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002485/0.8917, allocations: 0.7052 MB / 0.8471 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/0.8919, allocations: 47.94 kB / 0.8472 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.8942, allocations: 1.788 MB / 0.8489 GB, free: 14.91 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/0.8943, allocations: 16 kB / 0.8489 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/0.9063, allocations: 3.565 MB / 0.8524 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/0.9082, allocations: 0.6613 MB / 0.8531 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007651/0.909, allocations: 35.94 kB / 0.8531 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00362/0.9126, allocations: 283.3 kB / 0.8534 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.9129, allocations: 112.7 kB / 0.8535 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/0.9131, allocations: 71.92 kB / 0.8535 GB, free: 10.02 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003715/0.9168, allocations: 1.77 MB / 0.8553 GB, free: 8.25 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.774e-06/0.9168, allocations: 0 / 0.8553 GB, free: 8.25 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005975/0.9228, allocations: 1.672 MB / 0.8569 GB, free: 6.574 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,17), (2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002134/0.9249, allocations: 0.8059 MB / 0.8577 GB, free: 5.777 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01252/0.9375, allocations: 3.621 MB / 0.8612 GB, free: 2.141 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-05/0.9375, allocations: 4.438 kB / 0.8612 GB, free: 2.137 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003543/0.9411, allocations: 0.9842 MB / 0.8622 GB, free: 1.152 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2929/1.234, allocations: 1.42 MB / 0.8636 GB, free: 209.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/1.246, allocations: 6.453 MB / 0.8699 GB, free: 206.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.247, allocations: 1.709 MB / 0.8715 GB, free: 205.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.248, allocations: 286 kB / 0.8718 GB, free: 205.9 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/1.248, allocations: 3.75 kB / 0.8718 GB, free: 205.9 MB / 0.67 GB Notification: Performance of Templates: time 0.09851/1.347, allocations: 80.5 MB / 0.9504 GB, free: 169.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)