Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",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.001083/0.001083, allocations: 105.8 kB / 16.41 MB, free: 6.5 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.001019/0.001019, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.785/0.785, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 69.58 kB / 0.568 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1614, allocations: 77.93 MB / 0.6441 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.713/0.8745, allocations: 300.4 MB / 0.9374 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.07422/0.9488, allocations: 50.02 MB / 0.9863 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0142/0.9631, allocations: 298.2 kB / 0.9866 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01097/0.9741, allocations: 3.521 MB / 0.99 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02898/1.003, allocations: 9.494 MB / 0.9993 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.02152/1.025, allocations: 6.704 MB / 1.006 GB, free: 2.574 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.03164/1.056, allocations: 18.53 MB / 1.024 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01382/1.07, allocations: 5.842 MB / 1.03 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02119/1.092, allocations: 7.572 MB / 1.037 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01123/1.103, allocations: 5.087 MB / 1.042 GB, free: 13.37 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.003647/1.107, allocations: 0.5664 MB / 1.043 GB, free: 12.8 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01463/1.121, allocations: 4.375 MB / 1.047 GB, free: 8.422 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003587/1.125, allocations: 1.51 MB / 1.048 GB, free: 6.906 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.009412/1.134, allocations: 3.744 MB / 1.052 GB, free: 3.145 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.5832/1.718, allocations: 10.47 MB / 1.062 GB, free: 67.54 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/1.718, allocations: 4.156 kB / 1.062 GB, free: 67.54 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.404e-06/1.718, allocations: 0 / 1.062 GB, free: 67.54 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0005928/1.718, allocations: 1.062 kB / 1.062 GB, free: 67.54 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02779/1.746, allocations: 7.711 MB / 1.07 GB, free: 63.99 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.746, allocations: 12.94 kB / 1.07 GB, free: 63.99 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002385/1.748, allocations: 0.5423 MB / 1.07 GB, free: 63.93 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005306/1.754, allocations: 0.813 MB / 1.071 GB, free: 63.53 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01506/1.769, allocations: 5.403 MB / 1.076 GB, free: 62.4 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/1.769, allocations: 321.5 kB / 1.077 GB, free: 62.39 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009552/1.77, allocations: 435.4 kB / 1.077 GB, free: 62.39 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00849/1.779, allocations: 4.379 MB / 1.081 GB, free: 61.59 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/1.779, allocations: 15.77 kB / 1.081 GB, free: 61.59 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007136/1.78, allocations: 179.7 kB / 1.082 GB, free: 61.58 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/1.78, allocations: 114.3 kB / 1.082 GB, free: 61.58 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006784/1.786, allocations: 2.965 MB / 1.085 GB, free: 61.55 MB / 0.795 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.031/1.818, allocations: 25.17 MB / 1.109 GB, free: 45.67 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003468/1.821, allocations: 2.76 MB / 1.112 GB, free: 44.49 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/1.823, allocations: 1.001 MB / 1.113 GB, free: 44.47 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00231/1.825, allocations: 3.9 MB / 1.117 GB, free: 40.07 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.453e-05/1.825, allocations: 69 kB / 1.117 GB, free: 40.02 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 4.94e-06/1.825, allocations: 0 / 1.117 GB, free: 40.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.01173/1.837, allocations: 4.098 MB / 1.121 GB, free: 39.14 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/1.837, allocations: 72.81 kB / 1.121 GB, free: 39.07 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008306/1.845, allocations: 4.302 MB / 1.125 GB, free: 38.72 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000689/1.846, allocations: 79.64 kB / 1.125 GB, free: 38.69 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00241/1.849, allocations: 2.825 MB / 1.128 GB, free: 37.78 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00135/1.85, allocations: 0.7934 MB / 1.129 GB, free: 37.26 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/1.851, allocations: 0.5747 MB / 1.129 GB, free: 37.21 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/1.851, allocations: 304.7 kB / 1.129 GB, free: 36.91 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/1.853, allocations: 0.8198 MB / 1.13 GB, free: 36.89 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/1.855, allocations: 1.821 MB / 1.132 GB, free: 35.72 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004011/1.859, allocations: 2.512 MB / 1.134 GB, free: 34.85 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.626e-05/1.859, allocations: 8.219 kB / 1.134 GB, free: 34.85 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009854/1.869, allocations: 3.585 MB / 1.138 GB, free: 34.32 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/1.869, allocations: 18.17 kB / 1.138 GB, free: 34.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/1.869, allocations: 22.12 kB / 1.138 GB, free: 34.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002539/1.872, allocations: 0.5778 MB / 1.139 GB, free: 34.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/1.874, allocations: 0.5538 MB / 1.139 GB, free: 34.26 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/1.876, allocations: 2.689 MB / 1.142 GB, free: 32.17 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005623/1.881, allocations: 333.8 kB / 1.142 GB, free: 32.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006029/1.882, allocations: 136.8 kB / 1.142 GB, free: 32.02 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003911/1.886, allocations: 1.568 MB / 1.144 GB, free: 31.93 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001973/1.888, allocations: 1.794 MB / 1.145 GB, free: 30.77 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003317/1.891, allocations: 2.461 MB / 1.148 GB, free: 29.89 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.148e-05/1.891, allocations: 7.25 kB / 1.148 GB, free: 29.89 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.00728/1.899, allocations: 3.34 MB / 1.151 GB, free: 29.41 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.899, allocations: 18.34 kB / 1.151 GB, free: 29.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/1.899, allocations: 22.59 kB / 1.151 GB, free: 29.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008755/1.9, allocations: 369.1 kB / 1.151 GB, free: 29.37 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/1.901, allocations: 0.5508 MB / 1.152 GB, free: 29.37 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006402/1.908, allocations: 8.476 MB / 1.16 GB, free: 23.06 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005211/1.913, allocations: 300.5 kB / 1.161 GB, free: 22.96 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004904/1.913, allocations: 130.9 kB / 1.161 GB, free: 22.96 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008589/1.914, allocations: 373.3 kB / 1.161 GB, free: 22.76 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001856/1.916, allocations: 0.5308 MB / 1.162 GB, free: 22.47 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006073/1.922, allocations: 3.562 MB / 1.165 GB, free: 22.07 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.699e-05/1.922, allocations: 36.06 kB / 1.165 GB, free: 22.07 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.922, allocations: 3.656 kB / 1.165 GB, free: 22.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003619/1.926, allocations: 2.425 MB / 1.167 GB, free: 21.83 MB / 0.795 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 postOpt removeSimpleEquations (simulation): time 0.01726/1.943, allocations: 8.216 MB / 1.175 GB, free: 20.28 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/1.943, allocations: 3 kB / 1.175 GB, free: 20.28 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/1.945, allocations: 366.8 kB / 1.176 GB, free: 20.27 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006866/1.945, allocations: 300.2 kB / 1.176 GB, free: 20.22 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002349/1.946, allocations: 58.33 kB / 1.176 GB, free: 20.22 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/1.947, allocations: 2.493 MB / 1.179 GB, free: 18.13 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.947, allocations: 5.406 kB / 1.179 GB, free: 18.13 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008669/1.956, allocations: 4.362 MB / 1.183 GB, free: 17.42 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003648/1.959, allocations: 0.9133 MB / 1.184 GB, free: 17 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0024/1.962, allocations: 41.19 kB / 1.184 GB, free: 17 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005271/1.967, allocations: 121.4 kB / 1.184 GB, free: 17 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006608/1.968, allocations: 156 kB / 1.184 GB, free: 16.99 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005536/1.968, allocations: 111.2 kB / 1.184 GB, free: 16.99 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.006856/1.975, allocations: 2.849 MB / 1.187 GB, free: 16.39 MB / 0.795 GB Notification: Performance of sort global known variables: time 8.72e-07/1.975, allocations: 0 / 1.187 GB, free: 16.39 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01489/1.99, allocations: 3.269 MB / 1.19 GB, free: 13.39 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01182/2.002, allocations: 6.185 MB / 1.196 GB, free: 9.121 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.008532/2.011, allocations: 4.432 MB / 1.201 GB, free: 6.047 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/2.011, allocations: 4 kB / 1.201 GB, free: 6.043 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/2.013, allocations: 1.232 MB / 1.202 GB, free: 5.215 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01475/2.028, allocations: 2.635 MB / 1.204 GB, free: 3.047 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07002/2.098, allocations: 32.04 MB / 1.236 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003724/2.101, allocations: 2.875 MB / 1.238 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.005203/2.107, allocations: 1.153 MB / 1.24 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00452/2.111, allocations: 2.533 MB / 1.242 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of SimCode: time 1.352e-06/2.111, allocations: 0 / 1.242 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2434/2.355, allocations: 145.7 MB / 1.384 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.68/27.04, allocations: 6.438 kB / 1.384 GB, free: 12.12 MB / 0.9825 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)