Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_PressurizationData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_PressurizationData",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.005958/0.005958, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001533/0.001533, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.3 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 61.81 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3441, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 1.067/1.411, allocations: 186.5 MB / 1.27 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02512/1.437, allocations: 15.9 MB / 1.285 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/1.439, allocations: 43 kB / 1.285 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00266/1.442, allocations: 0.7125 MB / 1.286 GB, free: 3.035 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008004/1.45, allocations: 2.265 MB / 1.288 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006258/1.456, allocations: 1.82 MB / 1.29 GB, free: 2.902 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007566/1.464, allocations: 3.505 MB / 1.293 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004592/1.469, allocations: 1.986 MB / 1.295 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00598/1.475, allocations: 1.517 MB / 1.297 GB, free: 2.621 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003577/1.478, allocations: 1.228 MB / 1.298 GB, free: 2.617 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008436/1.479, allocations: 214.8 kB / 1.298 GB, free: 2.617 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005955/1.485, allocations: 1.949 MB / 1.3 GB, free: 2.59 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001346/1.486, allocations: 0.6448 MB / 1.301 GB, free: 2.59 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002481/1.489, allocations: 1.119 MB / 1.302 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008577/1.498, allocations: 3.528 MB / 1.305 GB, free: 1.812 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/1.498, allocations: 0 / 1.305 GB, free: 1.812 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.134e-06/1.498, allocations: 0.9375 kB / 1.305 GB, free: 1.812 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.207e-05/1.498, allocations: 1.094 kB / 1.305 GB, free: 1.812 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.007083/1.505, allocations: 2.599 MB / 1.308 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/1.505, allocations: 9.125 kB / 1.308 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003965/1.505, allocations: 242 kB / 1.308 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003895/1.509, allocations: 0.5278 MB / 1.308 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/1.513, allocations: 1.326 MB / 1.31 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/1.513, allocations: 135.9 kB / 1.31 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003218/1.513, allocations: 160.6 kB / 1.31 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003928/1.517, allocations: 1.863 MB / 1.312 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.774e-05/1.517, allocations: 9.281 kB / 1.312 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/1.517, allocations: 70.34 kB / 1.312 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-05/1.517, allocations: 64.94 kB / 1.312 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003563/1.521, allocations: 1.868 MB / 1.314 GB, free: 15.64 MB / 1.029 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.011/1.532, allocations: 6.267 MB / 1.32 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003059/1.535, allocations: 1.583 MB / 1.322 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/1.536, allocations: 0.65 MB / 1.322 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007785/1.537, allocations: 0.6266 MB / 1.323 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/1.539, allocations: 0.8782 MB / 1.324 GB, free: 11.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=142): time 3.737e-06/1.539, allocations: 0 / 1.324 GB, free: 11.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=142): time 0.005764/1.544, allocations: 2.328 MB / 1.326 GB, free: 11.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/1.545, allocations: 200.2 kB / 1.326 GB, free: 11.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/1.547, allocations: 1.097 MB / 1.327 GB, free: 10.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002204/1.547, allocations: 52.14 kB / 1.327 GB, free: 10.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007523/1.548, allocations: 0.7304 MB / 1.328 GB, free: 10.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005464/1.548, allocations: 0.4915 MB / 1.328 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000422/1.549, allocations: 245.7 kB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.549, allocations: 350.4 kB / 1.329 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000902/1.55, allocations: 485.5 kB / 1.329 GB, free: 9.562 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/1.551, allocations: 0.6615 MB / 1.33 GB, free: 9.227 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/1.553, allocations: 1.149 MB / 1.331 GB, free: 8.699 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.553, allocations: 0 / 1.331 GB, free: 8.699 MB / 1.029 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.00344/1.556, allocations: 1.522 MB / 1.333 GB, free: 8.102 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.556, allocations: 4.312 kB / 1.333 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.556, allocations: 4.125 kB / 1.333 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000788/1.557, allocations: 151.2 kB / 1.333 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.558, allocations: 297.3 kB / 1.333 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00399/1.562, allocations: 4.54 MB / 1.338 GB, free: 3.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/1.564, allocations: 139.7 kB / 1.338 GB, free: 3.586 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/1.565, allocations: 55.8 kB / 1.338 GB, free: 3.574 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001174/1.566, allocations: 417.9 kB / 1.338 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004839/1.566, allocations: 165.7 kB / 1.338 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003861/1.57, allocations: 1.805 MB / 1.34 GB, free: 2.512 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.57, allocations: 18.34 kB / 1.34 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.57, allocations: 2.781 kB / 1.34 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002926/1.573, allocations: 1.483 MB / 1.342 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007864/1.581, allocations: 3.503 MB / 1.345 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.581, allocations: 0 / 1.345 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/1.582, allocations: 293.2 kB / 1.345 GB, free: 364 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006509/1.583, allocations: 133.5 kB / 1.345 GB, free: 316 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001456/1.583, allocations: 45.73 kB / 1.345 GB, free: 292 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004233/1.588, allocations: 4.547 MB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/1.588, allocations: 6.969 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005839/1.593, allocations: 2.438 MB / 1.352 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/1.595, allocations: 443 kB / 1.353 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006056/1.596, allocations: 30.3 kB / 1.353 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/1.597, allocations: 92.08 kB / 1.353 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/1.598, allocations: 109 kB / 1.353 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/1.598, allocations: 63.61 kB / 1.353 GB, free: 10.45 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001766/1.6, allocations: 0.7575 MB / 1.354 GB, free: 10.14 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.81e-07/1.6, allocations: 0 / 1.354 GB, free: 10.14 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002661/1.602, allocations: 0.6327 MB / 1.354 GB, free: 9.969 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,pow_1dat.mExc,pow_1dat1.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00732/1.61, allocations: 3.639 MB / 1.358 GB, free: 8.16 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003223/1.613, allocations: 1.627 MB / 1.359 GB, free: 7.406 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.613, allocations: 7.344 kB / 1.359 GB, free: 7.402 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/1.615, allocations: 1.066 MB / 1.36 GB, free: 6.852 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004112/1.619, allocations: 0.704 MB / 1.361 GB, free: 6.621 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02583/1.645, allocations: 11.54 MB / 1.372 GB, free: 1.238 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/1.647, allocations: 1.395 MB / 1.374 GB, free: 308 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002305/1.649, allocations: 478.1 kB / 1.374 GB, free: 64 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/1.65, allocations: 0.7255 MB / 1.375 GB, free: 15.47 MB / 1.061 GB Notification: Performance of SimCode: time 1.253e-06/1.65, allocations: 3.188 kB / 1.375 GB, free: 15.47 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09678/1.747, allocations: 43.24 MB / 1.417 GB, free: 7.785 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/17.09, allocations: 11.95 kB / 1.417 GB, free: 7.777 MB / 1.092 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData_res.csv --start-time 0 --stop-time 2.592e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1036.8 Buildings_9_Buildings_Airflow_Multizone_Examples_PressurizationData.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)