Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",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.001078/0.001078, allocations: 104.3 kB / 16.4 MB, free: 6.43 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.001099/0.001099, allocations: 196 kB / 17.34 MB, free: 5.707 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.208/1.208, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6801/0.6801, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 68.45 kB / 0.568 GB, free: 29.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1185, allocations: 77.93 MB / 0.6441 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.6157/0.7342, allocations: 380.1 MB / 1.015 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.05422/0.7885, allocations: 46.54 MB / 1.061 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005169/0.7937, allocations: 175.1 kB / 1.061 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.3975/1.191, allocations: 3.631 MB / 1.064 GB, free: 16.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01733/1.209, allocations: 7.593 MB / 1.072 GB, free: 16.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008296/1.217, allocations: 3.982 MB / 1.076 GB, free: 16.46 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02126/1.238, allocations: 17.33 MB / 1.093 GB, free: 16.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006886/1.245, allocations: 5.631 MB / 1.098 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/1.256, allocations: 6.374 MB / 1.104 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006791/1.263, allocations: 3.763 MB / 1.108 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001245/1.264, allocations: 0.5058 MB / 1.109 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01195/1.276, allocations: 6.341 MB / 1.115 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002478/1.279, allocations: 2.005 MB / 1.117 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.004071/1.283, allocations: 3.149 MB / 1.12 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01346/1.296, allocations: 10.39 MB / 1.13 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.296, allocations: 0 / 1.13 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.522e-06/1.296, allocations: 0 / 1.13 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002015/1.296, allocations: 0 / 1.13 GB, free: 12.95 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.01229/1.309, allocations: 6.477 MB / 1.136 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.309, allocations: 15.22 kB / 1.136 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006164/1.309, allocations: 474 kB / 1.137 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/1.321, allocations: 2.013 MB / 1.139 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/1.331, allocations: 5.857 MB / 1.144 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/1.331, allocations: 390.6 kB / 1.145 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006642/1.332, allocations: 348.5 kB / 1.145 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007369/1.339, allocations: 4.501 MB / 1.149 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.229e-05/1.339, allocations: 5.625 kB / 1.149 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000316/1.339, allocations: 139.1 kB / 1.15 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/1.34, allocations: 147.4 kB / 1.15 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007653/1.347, allocations: 3.947 MB / 1.154 GB, free: 5.891 MB / 0.8106 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.02462/1.372, allocations: 19.51 MB / 1.173 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003697/1.376, allocations: 1.74 MB / 1.174 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/1.378, allocations: 0.9059 MB / 1.175 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006068/1.378, allocations: 411.4 kB / 1.176 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002225/1.38, allocations: 1.047 MB / 1.177 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=127): time 4.819e-06/1.38, allocations: 3.984 kB / 1.177 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=127): time 0.007537/1.388, allocations: 2.893 MB / 1.179 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/1.388, allocations: 147.8 kB / 1.18 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006287/1.394, allocations: 4.656 MB / 1.184 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002625/1.395, allocations: 57.77 kB / 1.184 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001785/1.396, allocations: 2.429 MB / 1.187 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004408/1.397, allocations: 470.7 kB / 1.187 GB, free: 10 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008709/1.398, allocations: 0.6872 MB / 1.188 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.548e-05/1.398, allocations: 301.1 kB / 1.188 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002836/1.401, allocations: 1.365 MB / 1.189 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003609/1.404, allocations: 2.511 MB / 1.192 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006106/1.41, allocations: 3.683 MB / 1.195 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.3e-05/1.41, allocations: 8 kB / 1.195 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.008409/1.419, allocations: 4.239 MB / 1.2 GB, free: 13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/1.419, allocations: 49.64 kB / 1.2 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-05/1.419, allocations: 36 kB / 1.2 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.003e-05/1.419, allocations: 48 kB / 1.2 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/1.422, allocations: 0.7178 MB / 1.2 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-05/1.422, allocations: 75.14 kB / 1.2 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003881/1.426, allocations: 0.5234 MB / 1.201 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/1.426, allocations: 148 kB / 1.201 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004721/1.431, allocations: 2.517 MB / 1.204 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003577/1.434, allocations: 2.503 MB / 1.206 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005634/1.44, allocations: 3.68 MB / 1.21 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.601e-05/1.44, allocations: 12 kB / 1.21 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.007927/1.448, allocations: 4.245 MB / 1.214 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/1.448, allocations: 49.69 kB / 1.214 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/1.448, allocations: 32 kB / 1.214 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-05/1.448, allocations: 52.72 kB / 1.214 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/1.451, allocations: 0.7109 MB / 1.215 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-05/1.451, allocations: 68.72 kB / 1.215 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00395/1.455, allocations: 445.7 kB / 1.215 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002725/1.455, allocations: 140 kB / 1.215 GB, free: 12.45 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (352): * Single equations (assignments): 346 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006088/1.456, allocations: 367.7 kB / 1.216 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008072/1.456, allocations: 446.3 kB / 1.216 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005325/1.462, allocations: 2.291 MB / 1.218 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.462, allocations: 12 kB / 1.218 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.462, allocations: 0 / 1.218 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00396/1.466, allocations: 1.893 MB / 1.22 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/1.479, allocations: 6.693 MB / 1.227 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/1.479, allocations: 8 kB / 1.227 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/1.48, allocations: 325.7 kB / 1.227 GB, free: 300 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/1.481, allocations: 60.81 kB / 1.227 GB, free: 236 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.995e-05/1.481, allocations: 43.98 kB / 1.227 GB, free: 192 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/1.482, allocations: 1.542 MB / 1.229 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/1.482, allocations: 24.84 kB / 1.229 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007146/1.489, allocations: 3.347 MB / 1.232 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/1.491, allocations: 0.7333 MB / 1.233 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004495/1.491, allocations: 36 kB / 1.233 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002374/1.494, allocations: 192.4 kB / 1.233 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/1.494, allocations: 116 kB / 1.233 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.494, allocations: 67.97 kB / 1.233 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.004437/1.498, allocations: 3.115 MB / 1.236 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.81e-07/1.498, allocations: 0 / 1.236 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00528/1.504, allocations: 2.299 MB / 1.238 GB, free: 4.5 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008026/1.512, allocations: 4.447 MB / 1.243 GB, free: 0 / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.009638/1.521, allocations: 4.851 MB / 1.247 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.521, allocations: 4 kB / 1.247 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002456/1.524, allocations: 1.046 MB / 1.248 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00907/1.533, allocations: 2.127 MB / 1.25 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05196/1.585, allocations: 33.31 MB / 1.283 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002665/1.588, allocations: 3.029 MB / 1.286 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.004424/1.592, allocations: 1.304 MB / 1.287 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002534/1.595, allocations: 2.096 MB / 1.289 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of SimCode: time 9.22e-07/1.595, allocations: 0 / 1.289 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1507/1.745, allocations: 107.8 MB / 1.395 GB, free: 4.836 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.22/18.97, allocations: 0 / 1.395 GB, free: 4.836 MB / 1.045 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)