Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_PressurizationData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="Buildings_10_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.008338/0.008338, allocations: 99.89 kB / 15.73 MB, free: 6.012 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.002394/0.002394, allocations: 193.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.225/2.225, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.734/3.734, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002593/0.002593, allocations: 63.89 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396/1.398, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.3462/1.744, allocations: 187.3 MB / 1.349 GB, free: 7.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03277/1.777, allocations: 15.98 MB / 1.365 GB, free: 7.723 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003372/1.781, allocations: 43.75 kB / 1.365 GB, free: 7.68 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003185/1.784, allocations: 0.7177 MB / 1.365 GB, free: 6.957 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/1.794, allocations: 2.258 MB / 1.368 GB, free: 4.691 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007226/1.802, allocations: 1.827 MB / 1.369 GB, free: 2.875 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007762/1.809, allocations: 3.622 MB / 1.373 GB, free: 15.24 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004553/1.814, allocations: 1.941 MB / 1.375 GB, free: 13.25 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005666/1.82, allocations: 1.492 MB / 1.376 GB, free: 11.77 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003405/1.823, allocations: 1.243 MB / 1.377 GB, free: 10.53 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0007183/1.824, allocations: 212 kB / 1.378 GB, free: 10.32 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00636/1.83, allocations: 1.942 MB / 1.38 GB, free: 8.375 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001337/1.832, allocations: 0.6504 MB / 1.38 GB, free: 7.723 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00246/1.834, allocations: 1.143 MB / 1.381 GB, free: 6.574 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.009298/1.843, allocations: 3.569 MB / 1.385 GB, free: 2.992 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/1.844, allocations: 0 / 1.385 GB, free: 2.992 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.395e-06/1.844, allocations: 0 / 1.385 GB, free: 2.992 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.642e-05/1.844, allocations: 0 / 1.385 GB, free: 2.992 MB / 1.107 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.007856/1.852, allocations: 2.62 MB / 1.387 GB, free: 312 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/1.852, allocations: 12.92 kB / 1.387 GB, free: 300 kB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004518/1.852, allocations: 244.6 kB / 1.388 GB, free: 44 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005584/1.858, allocations: 0.5257 MB / 1.388 GB, free: 15.51 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004072/1.862, allocations: 1.323 MB / 1.389 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/1.862, allocations: 123.3 kB / 1.39 GB, free: 14.02 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004569/1.862, allocations: 168 kB / 1.39 GB, free: 13.85 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005604/1.868, allocations: 1.858 MB / 1.392 GB, free: 11.92 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.504e-05/1.868, allocations: 3.938 kB / 1.392 GB, free: 11.91 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000273/1.869, allocations: 75.97 kB / 1.392 GB, free: 11.84 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/1.869, allocations: 71.09 kB / 1.392 GB, free: 11.77 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005243/1.874, allocations: 1.87 MB / 1.393 GB, free: 9.895 MB / 1.123 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.0152/1.889, allocations: 6.543 MB / 1.4 GB, free: 2.945 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004492/1.894, allocations: 1.582 MB / 1.401 GB, free: 1.324 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/1.896, allocations: 0.6437 MB / 1.402 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/1.897, allocations: 0.6337 MB / 1.403 GB, free: 15.91 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002458/1.899, allocations: 0.8685 MB / 1.404 GB, free: 15.03 MB / 1.139 GB Notification: Performance of pre-optimization done (n=142): time 4.659e-06/1.899, allocations: 0 / 1.404 GB, free: 15.03 MB / 1.139 GB Notification: Performance of matching and sorting (n=142): time 0.008765/1.908, allocations: 2.334 MB / 1.406 GB, free: 12.62 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/1.908, allocations: 205.2 kB / 1.406 GB, free: 12.38 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/1.911, allocations: 1.085 MB / 1.407 GB, free: 11.29 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002954/1.911, allocations: 53.7 kB / 1.407 GB, free: 11.23 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009913/1.912, allocations: 0.7369 MB / 1.408 GB, free: 10.48 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007665/1.913, allocations: 495.7 kB / 1.408 GB, free: 9.992 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006391/1.913, allocations: 242.8 kB / 1.409 GB, free: 9.75 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002318/1.914, allocations: 353.9 kB / 1.409 GB, free: 9.398 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/1.915, allocations: 486.4 kB / 1.409 GB, free: 8.922 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/1.917, allocations: 0.6599 MB / 1.41 GB, free: 8.215 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/1.921, allocations: 1.158 MB / 1.411 GB, free: 7.031 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.921, allocations: 0 / 1.411 GB, free: 7.031 MB / 1.139 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.005635/1.926, allocations: 1.525 MB / 1.413 GB, free: 5.488 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/1.926, allocations: 9.031 kB / 1.413 GB, free: 5.48 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/1.926, allocations: 7.938 kB / 1.413 GB, free: 5.473 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/1.928, allocations: 138.6 kB / 1.413 GB, free: 5.328 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/1.93, allocations: 295.6 kB / 1.413 GB, free: 5.039 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006572/1.936, allocations: 4.541 MB / 1.417 GB, free: 72 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/1.939, allocations: 153 kB / 1.418 GB, free: 15.92 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/1.939, allocations: 51.97 kB / 1.418 GB, free: 15.87 MB / 1.154 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.001326/1.94, allocations: 410.1 kB / 1.418 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006249/1.941, allocations: 163 kB / 1.418 GB, free: 15.3 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006465/1.947, allocations: 1.8 MB / 1.42 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/1.947, allocations: 16 kB / 1.42 GB, free: 13.46 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.947, allocations: 0 / 1.42 GB, free: 13.46 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0138/1.961, allocations: 1.494 MB / 1.421 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02013/1.981, allocations: 3.484 MB / 1.425 GB, free: 8.379 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/1.982, allocations: 0 / 1.425 GB, free: 8.379 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002414/1.984, allocations: 299.6 kB / 1.425 GB, free: 8.086 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009925/1.985, allocations: 134.5 kB / 1.425 GB, free: 7.945 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002394/1.985, allocations: 39.97 kB / 1.425 GB, free: 7.906 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006654/1.992, allocations: 4.538 MB / 1.43 GB, free: 2.949 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/1.992, allocations: 4.125 kB / 1.43 GB, free: 2.945 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008689/2.001, allocations: 2.455 MB / 1.432 GB, free: 472 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/2.002, allocations: 439.6 kB / 1.433 GB, free: 12 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005222/2.003, allocations: 28.08 kB / 1.433 GB, free: 15.98 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/2.005, allocations: 97.16 kB / 1.433 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/2.005, allocations: 113.2 kB / 1.433 GB, free: 15.78 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/2.006, allocations: 63.95 kB / 1.433 GB, free: 15.71 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001906/2.008, allocations: 0.7541 MB / 1.434 GB, free: 14.96 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.1e-07/2.008, allocations: 0 / 1.434 GB, free: 14.96 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002807/2.01, allocations: 0.6353 MB / 1.434 GB, free: 14.32 MB / 1.17 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.01214/2.023, allocations: 3.664 MB / 1.438 GB, free: 10.79 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005309/2.028, allocations: 1.62 MB / 1.439 GB, free: 9.129 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.028, allocations: 448 / 1.439 GB, free: 9.129 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003032/2.031, allocations: 1.077 MB / 1.44 GB, free: 8.016 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005357/2.036, allocations: 0.7068 MB / 1.441 GB, free: 7.324 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03537/2.072, allocations: 11.43 MB / 1.452 GB, free: 11.7 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/2.074, allocations: 1.394 MB / 1.454 GB, free: 10.27 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.003014/2.077, allocations: 464.6 kB / 1.454 GB, free: 9.809 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001893/2.079, allocations: 0.7257 MB / 1.455 GB, free: 9.082 MB / 1.186 GB Notification: Performance of SimCode: time 9.32e-07/2.079, allocations: 0 / 1.455 GB, free: 9.082 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2428/2.321, allocations: 43.8 MB / 1.498 GB, free: 13.68 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.27/28.59, allocations: 15.23 kB / 1.498 GB, free: 13.66 MB / 1.232 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_Examples_PressurizationData.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)