Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="BuildSysPro_BuildSysPro_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.0009875/0.0009912, 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.001186/0.001186, 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.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.011/1.011, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002997, allocations: 8 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1904, allocations: 83.41 MB / 0.5974 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.4274/0.6178, allocations: 109.4 MB / 0.7042 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03679/0.6547, allocations: 21.4 MB / 0.7251 GB, free: 4.723 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006268/0.661, allocations: 111.6 kB / 0.7252 GB, free: 4.676 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006466/0.6675, allocations: 1.457 MB / 0.7266 GB, free: 3.855 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01762/0.6851, allocations: 4.186 MB / 0.7307 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01229/0.6974, allocations: 3.143 MB / 0.7338 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01218/0.7096, allocations: 5.084 MB / 0.7387 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004376/0.714, allocations: 2.273 MB / 0.7409 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006926/0.721, allocations: 2.429 MB / 0.7433 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003666/0.7247, allocations: 1.571 MB / 0.7448 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006771/0.7254, allocations: 128 kB / 0.745 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006294/0.7317, allocations: 1.744 MB / 0.7467 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000981/0.7327, allocations: 0.5719 MB / 0.7472 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.7343, allocations: 0.7305 MB / 0.7479 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008083/0.7423, allocations: 4.866 MB / 0.7527 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7424, allocations: 0 / 0.7527 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.376e-06/0.7424, allocations: 0 / 0.7527 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001922/0.7426, allocations: 0 / 0.7527 GB, free: 12.89 MB / 0.5762 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.008259/0.7509, allocations: 3.365 MB / 0.756 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.7509, allocations: 11.97 kB / 0.756 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009741/0.7519, allocations: 336.7 kB / 0.7563 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.7631, allocations: 1.451 MB / 0.7577 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006053/0.7692, allocations: 2.725 MB / 0.7604 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.7695, allocations: 251.9 kB / 0.7606 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004309/0.77, allocations: 240 kB / 0.7609 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008094/0.7781, allocations: 3.202 MB / 0.764 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.981e-05/0.7781, allocations: 7.938 kB / 0.764 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/0.7784, allocations: 104 kB / 0.7641 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.878e-05/0.7785, allocations: 67.98 kB / 0.7642 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009403/0.788, allocations: 2.889 MB / 0.767 GB, free: 13.85 MB / 0.5919 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.02136/0.8094, allocations: 13.76 MB / 0.7804 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004549/0.8139, allocations: 1.515 MB / 0.7819 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001756/0.8157, allocations: 1.781 MB / 0.7836 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003792/0.8195, allocations: 1.212 MB / 0.7848 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=126): time 3.056e-06/0.8196, allocations: 0 / 0.7848 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=130): time 0.05358/0.8731, allocations: 11.83 MB / 0.7964 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002615/0.8734, allocations: 0.5727 MB / 0.7969 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004445/0.8779, allocations: 2.682 MB / 0.7995 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003922/0.8783, allocations: 61.7 kB / 0.7996 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.8795, allocations: 1.333 MB / 0.8009 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005706/0.8801, allocations: 449.6 kB / 0.8013 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.8802, allocations: 36 kB / 0.8014 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.8804, allocations: 369.9 kB / 0.8017 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003781/0.8842, allocations: 0.9915 MB / 0.8027 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004263/0.8885, allocations: 1.59 MB / 0.8042 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004042/0.8925, allocations: 1.125 MB / 0.8053 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.8926, allocations: 4 kB / 0.8053 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02318/0.9157, allocations: 4.244 MB / 0.8095 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.001913/0.9177, allocations: 5.241 MB / 0.8146 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.9177, allocations: 12 kB / 0.8146 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003943/0.9217, allocations: 1.173 MB / 0.8158 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/0.9244, allocations: 475.2 kB / 0.8162 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/0.9284, allocations: 2.38 MB / 0.8185 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005338/0.9337, allocations: 415.2 kB / 0.8189 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003609/0.9341, allocations: 107.9 kB / 0.819 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.9341, allocations: 5.719 kB / 0.819 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02155/0.9557, allocations: 3.952 MB / 0.8229 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.852e-05/0.9558, allocations: 12.5 kB / 0.8229 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/0.9596, allocations: 1.168 MB / 0.8241 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/0.9624, allocations: 467.2 kB / 0.8245 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003736/0.9662, allocations: 2.379 MB / 0.8268 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/0.9706, allocations: 375.3 kB / 0.8272 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/0.9709, allocations: 104.7 kB / 0.8273 GB, free: 13.85 MB / 0.6544 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.001484/0.9724, allocations: 0.7036 MB / 0.828 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005774/0.9729, allocations: 284.8 kB / 0.8282 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/0.9882, allocations: 3.031 MB / 0.8312 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/0.9883, allocations: 15.94 kB / 0.8312 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.9883, allocations: 4 kB / 0.8312 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01431/1.003, allocations: 2.645 MB / 0.8338 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/1.026, allocations: 7.07 MB / 0.8407 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.026, allocations: 4 kB / 0.8407 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/1.028, allocations: 275.7 kB / 0.841 GB, free: 15.58 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003503/1.031, allocations: 1.02 MB / 0.842 GB, free: 14.56 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/1.031, allocations: 55.94 kB / 0.842 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003505/1.035, allocations: 2.157 MB / 0.8441 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/1.035, allocations: 15.92 kB / 0.8442 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/1.055, allocations: 4.995 MB / 0.849 GB, free: 6.867 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002037/1.057, allocations: 0.6924 MB / 0.8497 GB, free: 6.152 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004936/1.057, allocations: 39.98 kB / 0.8497 GB, free: 6.113 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003344/1.06, allocations: 305.3 kB / 0.85 GB, free: 5.816 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/1.061, allocations: 120.7 kB / 0.8502 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/1.061, allocations: 71.92 kB / 0.8502 GB, free: 5.629 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003192/1.064, allocations: 1.89 MB / 0.8521 GB, free: 3.738 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/1.064, allocations: 0 / 0.8521 GB, free: 3.738 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005082/1.069, allocations: 1.496 MB / 0.8535 GB, free: 2.242 MB / 0.67 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.3376/1.407, allocations: 7.922 MB / 0.8613 GB, free: 199 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01297/1.42, allocations: 3.766 MB / 0.8649 GB, free: 198.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/1.42, allocations: 3.406 kB / 0.8649 GB, free: 198.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003626/1.423, allocations: 1.106 MB / 0.866 GB, free: 198.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007239/1.431, allocations: 1.482 MB / 0.8675 GB, free: 198.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/1.446, allocations: 15.93 MB / 0.883 GB, free: 186.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/1.447, allocations: 1.771 MB / 0.8848 GB, free: 185.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004063/1.451, allocations: 0.6637 MB / 0.8854 GB, free: 185.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/1.453, allocations: 1.175 MB / 0.8866 GB, free: 184.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.122e-06/1.453, allocations: 0 / 0.8866 GB, free: 184.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1487/1.602, allocations: 96.64 MB / 0.9809 GB, free: 123.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/1.602, allocations: 273.5 kB / 0.9812 GB, free: 122.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.653/6.255, allocations: 0 / 0.9812 GB, free: 122.9 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: