Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IBPSA_latest_IBPSA_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.001001/0.001001, allocations: 96.27 kB / 15.69 MB, free: 480 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.0009894/0.0009896, allocations: 176.3 kB / 16.57 MB, free: 6.398 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.342/1.342, allocations: 223.2 MB / 240.5 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6706/0.6706, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003305, allocations: 15.98 kB / 493 MB, free: 8.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1623, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.4197/0.582, allocations: 109.4 MB / 0.6635 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0327/0.6148, allocations: 21.34 MB / 0.6844 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004899/0.6197, allocations: 115.2 kB / 0.6845 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005924/0.6256, allocations: 1.465 MB / 0.6859 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01596/0.6416, allocations: 4.189 MB / 0.69 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01067/0.6523, allocations: 3.138 MB / 0.6931 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01162/0.664, allocations: 5.084 MB / 0.698 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004243/0.6682, allocations: 2.284 MB / 0.7003 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007214/0.6755, allocations: 2.417 MB / 0.7026 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003531/0.6791, allocations: 1.563 MB / 0.7041 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009109/0.68, allocations: 128 kB / 0.7043 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005774/0.6858, allocations: 1.751 MB / 0.706 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.6871, allocations: 0.568 MB / 0.7065 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.6888, allocations: 0.7306 MB / 0.7072 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00824/0.6971, allocations: 4.559 MB / 0.7117 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6971, allocations: 0 / 0.7117 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.496e-06/0.6972, allocations: 0 / 0.7117 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001819/0.6973, allocations: 0 / 0.7117 GB, free: 11.32 MB / 0.5294 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.008687/0.706, allocations: 3.359 MB / 0.715 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.7061, allocations: 11.97 kB / 0.715 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009193/0.707, allocations: 324.7 kB / 0.7153 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.718, allocations: 1.451 MB / 0.7167 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006185/0.7242, allocations: 2.725 MB / 0.7194 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003745/0.7246, allocations: 247.9 kB / 0.7196 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006199/0.7253, allocations: 236 kB / 0.7198 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007858/0.7331, allocations: 3.207 MB / 0.723 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.96e-05/0.7332, allocations: 7.938 kB / 0.723 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/0.7335, allocations: 104 kB / 0.7231 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.151e-05/0.7336, allocations: 67.94 kB / 0.7231 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009709/0.7433, allocations: 2.885 MB / 0.726 GB, free: 12.3 MB / 0.545 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.03483/0.7782, allocations: 13.73 MB / 0.7394 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006715/0.785, allocations: 1.512 MB / 0.7408 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002503/0.7875, allocations: 1.781 MB / 0.7426 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005309/0.7929, allocations: 1.208 MB / 0.7438 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=126): time 3.697e-06/0.7929, allocations: 0 / 0.7438 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130): time 0.06967/0.8626, allocations: 11.82 MB / 0.7553 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003564/0.863, allocations: 0.5881 MB / 0.7559 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007086/0.8701, allocations: 2.682 MB / 0.7585 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005918/0.8707, allocations: 61.7 kB / 0.7585 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001963/0.8727, allocations: 1.333 MB / 0.7598 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000984/0.8737, allocations: 453.6 kB / 0.7603 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.8739, allocations: 32 kB / 0.7603 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.8742, allocations: 377.9 kB / 0.7607 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006016/0.8802, allocations: 0.9915 MB / 0.7616 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00739/0.8876, allocations: 1.585 MB / 0.7632 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006898/0.8946, allocations: 1.132 MB / 0.7643 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-05/0.8947, allocations: 4 kB / 0.7643 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.03085/0.9256, allocations: 4.233 MB / 0.7684 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.00304/0.9287, allocations: 5.24 MB / 0.7735 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.784e-05/0.9288, allocations: 12 kB / 0.7736 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005081/0.9339, allocations: 1.167 MB / 0.7747 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004604/0.9385, allocations: 471.2 kB / 0.7751 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006917/0.9455, allocations: 2.384 MB / 0.7775 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008925/0.9545, allocations: 410.8 kB / 0.7779 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008799/0.9555, allocations: 107.9 kB / 0.778 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.9555, allocations: 4 kB / 0.778 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03641/0.992, allocations: 3.953 MB / 0.7818 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-05/0.9922, allocations: 16.19 kB / 0.7819 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006566/0.9988, allocations: 1.176 MB / 0.783 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004379/1.003, allocations: 463.2 kB / 0.7834 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006842/1.01, allocations: 2.374 MB / 0.7858 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008284/1.018, allocations: 379.2 kB / 0.7861 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007065/1.019, allocations: 103.9 kB / 0.7862 GB, free: 12.33 MB / 0.6075 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.003374/1.023, allocations: 0.6959 MB / 0.7869 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001658/1.024, allocations: 280.6 kB / 0.7872 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02185/1.046, allocations: 3.042 MB / 0.7901 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-05/1.046, allocations: 12 kB / 0.7902 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/1.046, allocations: 4 kB / 0.7902 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01516/1.062, allocations: 2.653 MB / 0.7927 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02415/1.086, allocations: 7.049 MB / 0.7996 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/1.086, allocations: 4 kB / 0.7996 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/1.088, allocations: 280.2 kB / 0.7999 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003901/1.092, allocations: 1.015 MB / 0.8009 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/1.092, allocations: 47.95 kB / 0.8009 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005759/1.098, allocations: 2.152 MB / 0.803 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-05/1.098, allocations: 11.94 kB / 0.803 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03508/1.133, allocations: 5.022 MB / 0.808 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005415/1.138, allocations: 0.6808 MB / 0.8086 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002553/1.141, allocations: 40.31 kB / 0.8087 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00715/1.148, allocations: 303.4 kB / 0.8089 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005388/1.149, allocations: 120.6 kB / 0.8091 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003924/1.149, allocations: 75.92 kB / 0.8091 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006575/1.156, allocations: 1.894 MB / 0.811 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9.61e-07/1.156, allocations: 0 / 0.811 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.01141/1.167, allocations: 1.492 MB / 0.8124 GB, free: 0.6992 MB / 0.6231 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.02822/1.196, allocations: 7.925 MB / 0.8202 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01711/1.213, allocations: 3.748 MB / 0.8238 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.147e-05/1.213, allocations: 9.438 kB / 0.8238 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004655/1.218, allocations: 1.102 MB / 0.8249 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01142/1.229, allocations: 1.474 MB / 0.8264 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6406/1.87, allocations: 15.95 MB / 0.8419 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003401/1.873, allocations: 1.774 MB / 0.8437 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006154/1.879, allocations: 0.6636 MB / 0.8443 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002708/1.882, allocations: 1.164 MB / 0.8455 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.463e-06/1.882, allocations: 0 / 0.8455 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.336/3.218, allocations: 95.87 MB / 0.9391 GB, free: 141.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004286/3.219, allocations: 261 kB / 0.9393 GB, free: 140.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.263/12.48, allocations: 0 / 0.9393 GB, free: 140.9 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: