Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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: translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009712/0.0009712, allocations: 92.86 kB / 15.7 MB, free: 472 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.001057/0.001057, allocations: 171.7 kB / 16.58 MB, free: 6.051 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.358/1.358, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7987/0.7987, allocations: 115.5 MB / 407.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003013, allocations: 12 kB / 495.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 77.54 MB / 0.5593 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.2953/0.4246, allocations: 64.43 MB / 0.6222 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02009/0.4447, allocations: 13.46 MB / 0.6354 GB, free: 3.051 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/0.4473, allocations: 65.03 kB / 0.6354 GB, free: 3.023 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.4496, allocations: 0.643 MB / 0.6361 GB, free: 2.477 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00619/0.4558, allocations: 2.003 MB / 0.638 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004349/0.4602, allocations: 1.408 MB / 0.6394 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006171/0.4664, allocations: 5.109 MB / 0.6444 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.4684, allocations: 1.168 MB / 0.6455 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.4713, allocations: 1.379 MB / 0.6469 GB, free: 11.43 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.4734, allocations: 1.124 MB / 0.648 GB, free: 10.78 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003272/0.4737, allocations: 64.88 kB / 0.648 GB, free: 10.78 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003593/0.4773, allocations: 1.431 MB / 0.6494 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005128/0.4778, allocations: 310.6 kB / 0.6497 GB, free: 9.844 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006662/0.4785, allocations: 405.7 kB / 0.6501 GB, free: 9.613 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0034/0.4819, allocations: 2.593 MB / 0.6527 GB, free: 7.578 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.482, allocations: 0 / 0.6527 GB, free: 7.578 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.482, allocations: 0 / 0.6527 GB, free: 7.578 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.785e-05/0.482, allocations: 0 / 0.6527 GB, free: 7.578 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003824/0.4859, allocations: 1.948 MB / 0.6546 GB, free: 5.562 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.4859, allocations: 8.031 kB / 0.6546 GB, free: 5.555 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005168/0.4911, allocations: 0.7277 MB / 0.6553 GB, free: 4.824 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.4939, allocations: 1.521 MB / 0.6568 GB, free: 3.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.494, allocations: 132 kB / 0.6569 GB, free: 3.113 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.4943, allocations: 116 kB / 0.657 GB, free: 3 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003951/0.4983, allocations: 1.648 MB / 0.6586 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.4983, allocations: 7.938 kB / 0.6586 GB, free: 1.254 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.4985, allocations: 48 kB / 0.6587 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-05/0.4985, allocations: 39.98 kB / 0.6587 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004575/0.5031, allocations: 1.484 MB / 0.6601 GB, free: 15.68 MB / 494.1 MB 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.01002/0.5131, allocations: 7.026 MB / 0.667 GB, free: 8.305 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.5153, allocations: 0.7498 MB / 0.6677 GB, free: 7.551 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.5169, allocations: 0.5022 MB / 0.6682 GB, free: 7.043 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/0.5182, allocations: 1.274 MB / 0.6695 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.5183, allocations: 39.12 kB / 0.6695 GB, free: 5.445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=68): time 2.464e-06/0.5183, allocations: 0 / 0.6695 GB, free: 5.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=68): time 0.01825/0.5365, allocations: 3.114 MB / 0.6726 GB, free: 2.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.5366, allocations: 111.4 kB / 0.6727 GB, free: 2.172 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.5388, allocations: 1.343 MB / 0.674 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.539, allocations: 45.7 kB / 0.674 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006214/0.5396, allocations: 0.6956 MB / 0.6747 GB, free: 64 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.5399, allocations: 236.7 kB / 0.6749 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.54, allocations: 16 kB / 0.6749 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5401, allocations: 341.9 kB / 0.6753 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/0.542, allocations: 0.5172 MB / 0.6758 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002049/0.5441, allocations: 0.794 MB / 0.6765 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.5461, allocations: 0.5653 MB / 0.6771 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-06/0.5461, allocations: 4 kB / 0.6771 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01142/0.5575, allocations: 2.151 MB / 0.6792 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001998/0.5577, allocations: 280.7 kB / 0.6795 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.5577, allocations: 8 kB / 0.6795 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/0.5595, allocations: 494.9 kB / 0.6799 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.5609, allocations: 267.5 kB / 0.6802 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.5625, allocations: 0.9934 MB / 0.6812 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.5648, allocations: 279.5 kB / 0.6814 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.565, allocations: 51.95 kB / 0.6815 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.565, allocations: 4 kB / 0.6815 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01099/0.576, allocations: 2.01 MB / 0.6835 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.576, allocations: 11.98 kB / 0.6835 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.5776, allocations: 481.4 kB / 0.6839 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.579, allocations: 267.6 kB / 0.6842 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.5806, allocations: 0.993 MB / 0.6852 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.5827, allocations: 242.8 kB / 0.6854 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.5828, allocations: 59.89 kB / 0.6854 GB, free: 4.785 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007365/0.5836, allocations: 452.8 kB / 0.6859 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.5838, allocations: 146.2 kB / 0.686 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/0.588, allocations: 1.325 MB / 0.6873 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.588, allocations: 8 kB / 0.6873 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.588, allocations: 3.953 kB / 0.6873 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00348/0.5915, allocations: 1.151 MB / 0.6884 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007118/0.5986, allocations: 3.065 MB / 0.6914 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.5987, allocations: 7.984 kB / 0.6914 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008933/0.5996, allocations: 163.7 kB / 0.6916 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001593/0.6012, allocations: 474.8 kB / 0.6921 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.943e-05/0.6013, allocations: 27.97 kB / 0.6921 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.6029, allocations: 1.003 MB / 0.6931 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.6029, allocations: 7.938 kB / 0.6931 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005656/0.6085, allocations: 1.971 MB / 0.695 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007489/0.6093, allocations: 390.9 kB / 0.6954 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.6096, allocations: 27.98 kB / 0.6954 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/0.6114, allocations: 155.7 kB / 0.6955 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.6115, allocations: 56.25 kB / 0.6956 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.6116, allocations: 47.95 kB / 0.6956 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001667/0.6133, allocations: 0.9698 MB / 0.6966 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.555e-06/0.6133, allocations: 0 / 0.6966 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002773/0.6161, allocations: 0.8851 MB / 0.6974 GB, free: 8.188 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001213/0.6173, allocations: 0.5256 MB / 0.698 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006223/0.6235, allocations: 1.865 MB / 0.6998 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.6236, allocations: 0 / 0.6998 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.6254, allocations: 0.5258 MB / 0.7003 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/0.6291, allocations: 0.7865 MB / 0.7011 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006032/0.6352, allocations: 3.156 MB / 0.7041 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008582/0.6361, allocations: 1.207 MB / 0.7053 GB, free: 20 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001841/0.6379, allocations: 366.6 kB / 0.7057 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/0.6383, allocations: 135.3 kB / 0.7058 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of SimCode: time 7.12e-07/0.6383, allocations: 0 / 0.7058 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of Templates: time 0.05807/0.6964, allocations: 36.16 MB / 0.7411 GB, free: 11.77 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)