Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001568/0.001568, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8389/0.8389, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005146/0.0005147, allocations: 12.56 kB / 0.5033 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6401/0.6407, allocations: 81.57 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1897/0.8304, allocations: 109.4 MB / 0.6898 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03889/0.8693, allocations: 21.32 MB / 0.7106 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006459/0.8758, allocations: 115.2 kB / 0.7107 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006617/0.8825, allocations: 1.453 MB / 0.7121 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01574/0.8983, allocations: 4.173 MB / 0.7162 GB, free: 7.926 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01103/0.9094, allocations: 3.123 MB / 0.7193 GB, free: 4.875 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01175/0.9211, allocations: 5.085 MB / 0.7242 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004483/0.9257, allocations: 2.278 MB / 0.7264 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006228/0.9319, allocations: 2.425 MB / 0.7288 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003824/0.9358, allocations: 1.571 MB / 0.7303 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.9369, allocations: 128 kB / 0.7305 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006593/0.9435, allocations: 1.74 MB / 0.7322 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001479/0.945, allocations: 0.5758 MB / 0.7327 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001941/0.947, allocations: 0.7304 MB / 0.7334 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008135/0.9552, allocations: 4.563 MB / 0.7379 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.9552, allocations: 0 / 0.7379 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.156e-06/0.9552, allocations: 0 / 0.7379 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001915/0.9554, allocations: 0 / 0.7379 GB, free: 1.695 MB / 0.5606 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.007534/0.963, allocations: 3.355 MB / 0.7412 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.963, allocations: 8.031 kB / 0.7412 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000867/0.9639, allocations: 332.7 kB / 0.7415 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.9749, allocations: 1.451 MB / 0.7429 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006151/0.981, allocations: 2.721 MB / 0.7456 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003464/0.9814, allocations: 247.9 kB / 0.7458 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005866/0.982, allocations: 239.9 kB / 0.746 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008866/0.9909, allocations: 3.202 MB / 0.7492 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.748e-05/0.991, allocations: 15.78 kB / 0.7492 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003305/0.9914, allocations: 107.9 kB / 0.7493 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.502e-05/0.9915, allocations: 71.98 kB / 0.7494 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/1.002, allocations: 2.877 MB / 0.7522 GB, free: 2.672 MB / 0.5762 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.03779/1.04, allocations: 13.72 MB / 0.7656 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008476/1.048, allocations: 1.502 MB / 0.767 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00317/1.052, allocations: 1.785 MB / 0.7688 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00741/1.059, allocations: 1.208 MB / 0.77 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=126): time 1.274e-05/1.059, allocations: 4 kB / 0.77 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=130): time 0.09989/1.159, allocations: 11.81 MB / 0.7815 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003939/1.16, allocations: 0.5766 MB / 0.7821 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007636/1.167, allocations: 2.694 MB / 0.7847 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0006619/1.168, allocations: 61.7 kB / 0.7848 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002065/1.17, allocations: 1.323 MB / 0.786 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009848/1.171, allocations: 457.5 kB / 0.7865 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/1.171, allocations: 32 kB / 0.7865 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0003498/1.172, allocations: 373.9 kB / 0.7869 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006111/1.178, allocations: 0.9954 MB / 0.7878 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007129/1.185, allocations: 1.59 MB / 0.7894 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006439/1.191, allocations: 1.128 MB / 0.7905 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.9e-05/1.192, allocations: 4 kB / 0.7905 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02612/1.218, allocations: 4.239 MB / 0.7946 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.001986/1.22, allocations: 5.241 MB / 0.7998 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/1.22, allocations: 16 kB / 0.7998 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004084/1.224, allocations: 1.16 MB / 0.8009 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/1.227, allocations: 475.5 kB / 0.8014 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004202/1.231, allocations: 2.393 MB / 0.8037 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004834/1.236, allocations: 419.1 kB / 0.8041 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000252/1.236, allocations: 103.9 kB / 0.8042 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.236, allocations: 7.953 kB / 0.8042 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0231/1.259, allocations: 3.944 MB / 0.8081 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/1.259, allocations: 12 kB / 0.8081 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003959/1.263, allocations: 1.173 MB / 0.8092 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/1.266, allocations: 467.2 kB / 0.8097 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/1.27, allocations: 2.371 MB / 0.812 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004909/1.275, allocations: 375.9 kB / 0.8123 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003747/1.275, allocations: 103.9 kB / 0.8124 GB, free: 2.711 MB / 0.6387 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001669/1.277, allocations: 0.6976 MB / 0.8131 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006362/1.277, allocations: 284.6 kB / 0.8134 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3438/1.621, allocations: 3.032 MB / 0.8163 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-05/1.621, allocations: 17.44 kB / 0.8164 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/1.621, allocations: 3.797 kB / 0.8164 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01615/1.637, allocations: 2.638 MB / 0.8189 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0252/1.663, allocations: 7.046 MB / 0.8258 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.929e-05/1.663, allocations: 6.344 kB / 0.8258 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/1.665, allocations: 278.5 kB / 0.8261 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003951/1.669, allocations: 1.014 MB / 0.8271 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/1.669, allocations: 51.22 kB / 0.8271 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/1.672, allocations: 2.153 MB / 0.8292 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/1.673, allocations: 16.66 kB / 0.8292 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02087/1.693, allocations: 5.019 MB / 0.8341 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/1.696, allocations: 0.683 MB / 0.8348 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009587/1.697, allocations: 41.48 kB / 0.8349 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004034/1.701, allocations: 299.2 kB / 0.8351 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/1.701, allocations: 117 kB / 0.8353 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/1.701, allocations: 73.34 kB / 0.8353 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004285/1.706, allocations: 1.891 MB / 0.8372 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.31e-07/1.706, allocations: 0 / 0.8372 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008113/1.714, allocations: 1.498 MB / 0.8386 GB, free: 199.1 MB / 0.6387 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.02373/1.738, allocations: 7.911 MB / 0.8464 GB, free: 193.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01299/1.751, allocations: 3.763 MB / 0.85 GB, free: 192 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.781e-05/1.751, allocations: 4.375 kB / 0.85 GB, free: 192 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003787/1.755, allocations: 1.11 MB / 0.8511 GB, free: 191.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007411/1.762, allocations: 1.47 MB / 0.8526 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/1.778, allocations: 15.95 MB / 0.8681 GB, free: 175.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/1.779, allocations: 1.77 MB / 0.8699 GB, free: 174.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004133/1.783, allocations: 0.6672 MB / 0.8705 GB, free: 173.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/1.784, allocations: 1.171 MB / 0.8717 GB, free: 172.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.252e-06/1.785, allocations: 0 / 0.8717 GB, free: 172.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/1.912, allocations: 95.85 MB / 0.9653 GB, free: 77.46 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/1.913, allocations: 256.2 kB / 0.9655 GB, free: 77.12 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/9.171, allocations: 0 / 0.9655 GB, free: 77.12 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: