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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_dev_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.001474/0.001474, allocations: 99.78 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.002161/0.002161, 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 2.623/2.623, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.791/1.791, allocations: 135.2 MB / 426.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004803, allocations: 8 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3045, allocations: 82.32 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.838/1.143, allocations: 109.4 MB / 0.6941 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.08266/1.225, allocations: 21.3 MB / 0.7149 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01386/1.239, allocations: 117.9 kB / 0.715 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01194/1.251, allocations: 1.46 MB / 0.7164 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.02839/1.28, allocations: 4.173 MB / 0.7205 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02336/1.303, allocations: 3.132 MB / 0.7236 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02238/1.326, allocations: 5.099 MB / 0.7286 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0089/1.335, allocations: 2.299 MB / 0.7308 GB, free: 6.363 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01296/1.348, allocations: 2.433 MB / 0.7332 GB, free: 4.883 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007968/1.356, allocations: 1.578 MB / 0.7347 GB, free: 3.949 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002288/1.358, allocations: 129.8 kB / 0.7348 GB, free: 3.949 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01491/1.373, allocations: 1.747 MB / 0.7366 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002472/1.376, allocations: 0.5704 MB / 0.7371 GB, free: 2.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003594/1.379, allocations: 0.7413 MB / 0.7378 GB, free: 2.121 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0153/1.395, allocations: 4.561 MB / 0.7423 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.395, allocations: 0 / 0.7423 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.368e-06/1.395, allocations: 4 kB / 0.7423 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002543/1.395, allocations: 0 / 0.7423 GB, free: 13.55 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.0149/1.41, allocations: 3.363 MB / 0.7456 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.297e-05/1.41, allocations: 8.031 kB / 0.7456 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00167/1.412, allocations: 332.8 kB / 0.7459 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02265/1.435, allocations: 1.451 MB / 0.7473 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/1.446, allocations: 2.725 MB / 0.75 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006041/1.446, allocations: 259.8 kB / 0.7502 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001283/1.448, allocations: 244 kB / 0.7505 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/1.463, allocations: 3.189 MB / 0.7536 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/1.464, allocations: 11.94 kB / 0.7536 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000642/1.464, allocations: 104 kB / 0.7537 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/1.464, allocations: 71.92 kB / 0.7538 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/1.484, allocations: 2.882 MB / 0.7566 GB, free: 14.52 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.04626/1.53, allocations: 13.53 MB / 0.7698 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009409/1.54, allocations: 1.531 MB / 0.7713 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003192/1.543, allocations: 1.778 MB / 0.773 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007979/1.551, allocations: 1.24 MB / 0.7742 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=130): time 1.263e-05/1.551, allocations: 4 kB / 0.7742 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=130): time 0.077/1.628, allocations: 5.974 MB / 0.7801 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004388/1.629, allocations: 0.5883 MB / 0.7806 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009581/1.638, allocations: 2.583 MB / 0.7832 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000659/1.639, allocations: 65.7 kB / 0.7832 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002787/1.642, allocations: 1.341 MB / 0.7845 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/1.643, allocations: 449.6 kB / 0.785 GB, free: 152 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004089/1.644, allocations: 40 kB / 0.785 GB, free: 112 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003406/1.644, allocations: 373.9 kB / 0.7854 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007707/1.652, allocations: 1.015 MB / 0.7863 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008748/1.661, allocations: 1.599 MB / 0.7879 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00693/1.668, allocations: 1.16 MB / 0.789 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.691e-05/1.668, allocations: 4 kB / 0.789 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.04342/1.711, allocations: 4.155 MB / 0.7931 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.002985/1.714, allocations: 5.014 MB / 0.798 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.642e-05/1.714, allocations: 12 kB / 0.798 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006729/1.721, allocations: 0.9611 MB / 0.7989 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005631/1.727, allocations: 0.5109 MB / 0.7994 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006613/1.733, allocations: 1.99 MB / 0.8014 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/1.743, allocations: 0.5262 MB / 0.8019 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008347/1.744, allocations: 111.8 kB / 0.802 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/1.744, allocations: 5.875 kB / 0.802 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04244/1.787, allocations: 3.86 MB / 0.8058 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.072e-05/1.787, allocations: 15.95 kB / 0.8058 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005911/1.793, allocations: 0.9497 MB / 0.8067 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00525/1.798, allocations: 0.507 MB / 0.8072 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005675/1.804, allocations: 1.989 MB / 0.8092 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007486/1.811, allocations: 471.4 kB / 0.8096 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008651/1.812, allocations: 103.9 kB / 0.8097 GB, free: 5.988 MB / 0.6231 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.003162/1.816, allocations: 0.6978 MB / 0.8104 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/1.817, allocations: 268.8 kB / 0.8107 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/1.834, allocations: 2.579 MB / 0.8132 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.828e-05/1.834, allocations: 19.98 kB / 0.8132 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.834, allocations: 7.938 kB / 0.8132 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0157/1.85, allocations: 2.181 MB / 0.8153 GB, free: 160 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05352/1.903, allocations: 7.62 MB / 0.8228 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.808e-05/1.904, allocations: 8 kB / 0.8228 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003856/1.907, allocations: 291.6 kB / 0.8231 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006981/1.915, allocations: 0.9403 MB / 0.824 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004883/1.915, allocations: 59.89 kB / 0.824 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006644/1.922, allocations: 1.975 MB / 0.826 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.506e-05/1.922, allocations: 15.92 kB / 0.826 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02609/1.948, allocations: 4.458 MB / 0.8303 GB, free: 100 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003648/1.952, allocations: 0.6963 MB / 0.831 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001544/1.953, allocations: 39.98 kB / 0.831 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007792/1.961, allocations: 299.4 kB / 0.8313 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005772/1.962, allocations: 116.7 kB / 0.8314 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000497/1.962, allocations: 75.92 kB / 0.8315 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007161/1.969, allocations: 1.821 MB / 0.8333 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.152e-06/1.969, allocations: 0 / 0.8333 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01069/1.98, allocations: 1.7 MB / 0.835 GB, free: 11.34 MB / 0.6544 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.02896/2.009, allocations: 7.507 MB / 0.8423 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02627/2.036, allocations: 3.764 MB / 0.846 GB, free: 15.79 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.93e-05/2.036, allocations: 4.438 kB / 0.846 GB, free: 15.79 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007539/2.043, allocations: 1.098 MB / 0.847 GB, free: 14.69 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01394/2.057, allocations: 1.377 MB / 0.8484 GB, free: 13.34 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5535/2.611, allocations: 15.65 MB / 0.8637 GB, free: 205.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002143/2.613, allocations: 1.775 MB / 0.8654 GB, free: 204.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006796/2.62, allocations: 0.6915 MB / 0.8661 GB, free: 204.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003294/2.623, allocations: 1.159 MB / 0.8672 GB, free: 204.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.423e-06/2.623, allocations: 0 / 0.8672 GB, free: 204.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.22/3.844, allocations: 91.56 MB / 0.9566 GB, free: 159.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/3.844, allocations: 259.1 kB / 0.9569 GB, free: 158.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/11.73, allocations: 0 / 0.9569 GB, free: 158.9 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: