Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_ScalingFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",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.001238/0.001239, allocations: 98.83 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.001398/0.001398, allocations: 177.3 kB / 15.95 MB, free: 216 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.486/1.486, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.006/1.006, allocations: 132.3 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005005, allocations: 12 kB / 0.5033 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.5607, allocations: 81.57 MB / 0.583 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1249/0.6857, allocations: 109.4 MB / 0.6898 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03016/0.7159, allocations: 21.32 MB / 0.7106 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004357/0.7203, allocations: 111.2 kB / 0.7107 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005259/0.7255, allocations: 1.465 MB / 0.7122 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0154/0.741, allocations: 4.174 MB / 0.7162 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01048/0.7515, allocations: 3.127 MB / 0.7193 GB, free: 4.812 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01042/0.7619, allocations: 5.101 MB / 0.7243 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006184/0.7681, allocations: 2.278 MB / 0.7265 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008438/0.7766, allocations: 2.437 MB / 0.7289 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004926/0.7816, allocations: 1.583 MB / 0.7304 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.7827, allocations: 128 kB / 0.7305 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009133/0.7919, allocations: 1.744 MB / 0.7322 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001902/0.7938, allocations: 0.5758 MB / 0.7328 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00228/0.7961, allocations: 0.7305 MB / 0.7335 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.8072, allocations: 4.578 MB / 0.738 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8073, allocations: 4 kB / 0.738 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.316e-06/0.8073, allocations: 0 / 0.738 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001818/0.8075, allocations: 0 / 0.738 GB, free: 1.57 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01162/0.8191, allocations: 3.359 MB / 0.7413 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.8192, allocations: 8.031 kB / 0.7413 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009838/0.8202, allocations: 328.8 kB / 0.7416 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.8316, allocations: 1.459 MB / 0.743 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005861/0.8375, allocations: 2.725 MB / 0.7457 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/0.8379, allocations: 256 kB / 0.7459 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00059/0.8385, allocations: 243.9 kB / 0.7462 GB, free: 9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008813/0.8473, allocations: 3.201 MB / 0.7493 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.014e-05/0.8474, allocations: 7.938 kB / 0.7493 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/0.8478, allocations: 108 kB / 0.7494 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.691e-05/0.8479, allocations: 71.94 kB / 0.7495 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.858, allocations: 2.889 MB / 0.7523 GB, free: 2.527 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.02404/0.8821, allocations: 13.52 MB / 0.7655 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00651/0.8886, allocations: 1.519 MB / 0.767 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002569/0.8913, allocations: 1.785 MB / 0.7687 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006242/0.8976, allocations: 1.241 MB / 0.7699 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=130): time 6.523e-06/0.8976, allocations: 0 / 0.7699 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=130): time 0.05106/0.9487, allocations: 5.982 MB / 0.7758 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002775/0.949, allocations: 0.5805 MB / 0.7763 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004522/0.9535, allocations: 2.583 MB / 0.7789 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0006937/0.9543, allocations: 65.69 kB / 0.7789 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.9558, allocations: 1.342 MB / 0.7802 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006558/0.9564, allocations: 453.5 kB / 0.7807 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.9566, allocations: 40 kB / 0.7807 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.9568, allocations: 377.8 kB / 0.7811 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003988/0.9608, allocations: 1.015 MB / 0.7821 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004625/0.9654, allocations: 1.595 MB / 0.7836 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004344/0.9698, allocations: 1.162 MB / 0.7847 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/0.9699, allocations: 4 kB / 0.7847 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.03522/1.005, allocations: 4.139 MB / 0.7888 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.00347/1.009, allocations: 5.022 MB / 0.7937 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.946e-05/1.009, allocations: 12 kB / 0.7937 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006561/1.015, allocations: 0.9634 MB / 0.7946 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005467/1.021, allocations: 0.5079 MB / 0.7951 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00618/1.027, allocations: 1.993 MB / 0.7971 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00896/1.036, allocations: 0.5262 MB / 0.7976 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007622/1.037, allocations: 107.9 kB / 0.7977 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.037, allocations: 4 kB / 0.7977 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02773/1.065, allocations: 3.867 MB / 0.8015 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/1.065, allocations: 15.94 kB / 0.8015 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003718/1.068, allocations: 0.9597 MB / 0.8024 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003035/1.072, allocations: 0.5031 MB / 0.8029 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/1.075, allocations: 1.99 MB / 0.8049 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004528/1.08, allocations: 473.8 kB / 0.8053 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/1.08, allocations: 103.9 kB / 0.8054 GB, free: 9.988 MB / 0.6387 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 ($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 (186): * Single equations (assignments): 183 * 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 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001628/1.081, allocations: 0.7053 MB / 0.8061 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006946/1.082, allocations: 264.8 kB / 0.8064 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/1.094, allocations: 2.58 MB / 0.8089 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.323e-05/1.094, allocations: 16 kB / 0.8089 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.094, allocations: 0 / 0.8089 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01162/1.106, allocations: 2.185 MB / 0.811 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3435/1.449, allocations: 7.604 MB / 0.8185 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/1.449, allocations: 10.94 kB / 0.8185 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/1.451, allocations: 291.4 kB / 0.8187 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00309/1.454, allocations: 0.9475 MB / 0.8197 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/1.455, allocations: 51.66 kB / 0.8197 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/1.457, allocations: 1.978 MB / 0.8217 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/1.457, allocations: 12.84 kB / 0.8217 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/1.469, allocations: 4.453 MB / 0.826 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/1.47, allocations: 0.69 MB / 0.8267 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004295/1.471, allocations: 40.95 kB / 0.8267 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/1.474, allocations: 294.6 kB / 0.827 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/1.474, allocations: 121.9 kB / 0.8271 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.474, allocations: 77.58 kB / 0.8272 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002736/1.477, allocations: 1.816 MB / 0.829 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/1.477, allocations: 0 / 0.829 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004218/1.481, allocations: 1.706 MB / 0.8306 GB, free: 202.3 MB / 0.6387 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 (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,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01185/1.493, allocations: 7.518 MB / 0.838 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.504, allocations: 3.767 MB / 0.8417 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.504, allocations: 4.375 kB / 0.8417 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003285/1.507, allocations: 1.102 MB / 0.8427 GB, free: 196 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005707/1.513, allocations: 1.377 MB / 0.8441 GB, free: 195.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/1.526, allocations: 15.64 MB / 0.8594 GB, free: 182.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009662/1.527, allocations: 1.774 MB / 0.8611 GB, free: 181 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003191/1.53, allocations: 0.6996 MB / 0.8618 GB, free: 180.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.531, allocations: 1.158 MB / 0.8629 GB, free: 179.7 MB / 0.6387 GB Notification: Performance of SimCode: time 8.61e-07/1.531, allocations: 0 / 0.8629 GB, free: 179.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2775/1.809, allocations: 91.54 MB / 0.9523 GB, free: 90.35 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/1.809, allocations: 262.9 kB / 0.9526 GB, free: 89.99 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/8.811, allocations: 0 / 0.9526 GB, free: 89.99 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: