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.001456/0.001456, allocations: 108 kB / 15.61 MB, free: 152 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.001588/0.001588, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.522/2.522, allocations: 390.3 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8846/0.8859, allocations: 140.3 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.2452/1.131, allocations: 186.5 MB / 1.132 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0268/1.158, allocations: 15.9 MB / 1.147 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003028/1.161, allocations: 47.75 kB / 1.147 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002625/1.164, allocations: 0.6867 MB / 1.148 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008297/1.172, allocations: 2.212 MB / 1.15 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007495/1.18, allocations: 1.792 MB / 1.152 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006569/1.186, allocations: 3.491 MB / 1.155 GB, free: 14.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004611/1.191, allocations: 1.983 MB / 1.157 GB, free: 12.44 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004701/1.196, allocations: 1.466 MB / 1.159 GB, free: 10.99 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003102/1.199, allocations: 1.229 MB / 1.16 GB, free: 9.758 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001004/1.2, allocations: 219.9 kB / 1.16 GB, free: 9.543 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005888/1.206, allocations: 1.914 MB / 1.162 GB, free: 7.625 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009052/1.207, allocations: 0.6504 MB / 1.163 GB, free: 6.973 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001609/1.208, allocations: 1.116 MB / 1.164 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006349/1.214, allocations: 3.447 MB / 1.167 GB, free: 2.395 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.215, allocations: 0 / 1.167 GB, free: 2.395 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/1.215, allocations: 0 / 1.167 GB, free: 2.395 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.554e-05/1.215, allocations: 0 / 1.167 GB, free: 2.395 MB / 0.92 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.004953/1.22, allocations: 2.523 MB / 1.17 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/1.22, allocations: 15.97 kB / 1.17 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002906/1.22, allocations: 248.6 kB / 1.17 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/1.223, allocations: 0.5126 MB / 1.17 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/1.225, allocations: 1.271 MB / 1.172 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/1.225, allocations: 123.3 kB / 1.172 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/1.226, allocations: 164 kB / 1.172 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/1.229, allocations: 1.86 MB / 1.174 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/1.229, allocations: 0 / 1.174 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/1.229, allocations: 72 kB / 1.174 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/1.229, allocations: 63.16 kB / 1.174 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003065/1.232, allocations: 1.874 MB / 1.176 GB, free: 9.465 MB / 0.9356 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.009035/1.241, allocations: 6.306 MB / 1.182 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003023/1.244, allocations: 1.579 MB / 1.183 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/1.246, allocations: 0.6515 MB / 1.184 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008294/1.246, allocations: 0.6298 MB / 1.185 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001613/1.248, allocations: 0.8788 MB / 1.185 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=142): time 3.747e-06/1.248, allocations: 0 / 1.185 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=142): time 0.006/1.254, allocations: 2.314 MB / 1.188 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/1.254, allocations: 201.2 kB / 1.188 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/1.256, allocations: 1.093 MB / 1.189 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001959/1.257, allocations: 53.7 kB / 1.189 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/1.258, allocations: 0.7161 MB / 1.19 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005866/1.258, allocations: 485 kB / 1.19 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006472/1.259, allocations: 238.8 kB / 1.19 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002028/1.259, allocations: 357.9 kB / 1.191 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/1.261, allocations: 486.4 kB / 1.191 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/1.263, allocations: 0.6536 MB / 1.192 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003154/1.266, allocations: 1.154 MB / 1.193 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/1.266, allocations: 0 / 1.193 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004968/1.271, allocations: 1.517 MB / 1.195 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/1.271, allocations: 7.938 kB / 1.195 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.271, allocations: 4 kB / 1.195 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/1.272, allocations: 138.6 kB / 1.195 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/1.274, allocations: 303.5 kB / 1.195 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005332/1.279, allocations: 4.548 MB / 1.199 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/1.281, allocations: 134.8 kB / 1.2 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/1.281, allocations: 55.91 kB / 1.2 GB, free: 15.8 MB / 0.9669 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.001387/1.283, allocations: 423 kB / 1.2 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006536/1.283, allocations: 154.1 kB / 1.2 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004375/1.288, allocations: 1.808 MB / 1.202 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/1.288, allocations: 20 kB / 1.202 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.288, allocations: 0 / 1.202 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002975/1.291, allocations: 1.474 MB / 1.203 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007243/1.298, allocations: 3.503 MB / 1.207 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/1.298, allocations: 4 kB / 1.207 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/1.3, allocations: 287.7 kB / 1.207 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006574/1.3, allocations: 142.4 kB / 1.207 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.3, allocations: 43.97 kB / 1.207 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004697/1.305, allocations: 4.541 MB / 1.212 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.305, allocations: 0 / 1.212 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00601/1.311, allocations: 2.44 MB / 1.214 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.313, allocations: 434.7 kB / 1.214 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006377/1.313, allocations: 35.91 kB / 1.214 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/1.315, allocations: 85.95 kB / 1.215 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003487/1.316, allocations: 113.1 kB / 1.215 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/1.316, allocations: 63.95 kB / 1.215 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00201/1.318, allocations: 0.7502 MB / 1.215 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.01e-07/1.318, allocations: 0 / 1.215 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002911/1.321, allocations: 0.6197 MB / 1.216 GB, free: 14.28 MB / 0.9825 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.008647/1.329, allocations: 3.645 MB / 1.22 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005997/1.335, allocations: 2.143 MB / 1.222 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.336, allocations: 4.5 kB / 1.222 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002253/1.338, allocations: 1.077 MB / 1.223 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004374/1.342, allocations: 0.695 MB / 1.223 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03051/1.373, allocations: 12.32 MB / 1.235 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/1.375, allocations: 1.398 MB / 1.237 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002954/1.378, allocations: 472.4 kB / 1.237 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/1.38, allocations: 0.7257 MB / 1.238 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of SimCode: time 5.871e-06/1.38, allocations: 0 / 1.238 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7611/2.141, allocations: 42.85 MB / 1.28 GB, free: 268.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/15.18, allocations: 6.156 kB / 1.28 GB, free: 268.4 MB / 0.9981 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)