Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PressurizationData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="BuildingSystems_BuildingSystems_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.02963/0.02963, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.04688/0.04688, allocations: 195.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 15.9/15.9, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001993, allocations: 286.9 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.116/1.116, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 89.09 kB / 0.5948 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2117, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.8246/1.036, allocations: 184.1 MB / 0.8595 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02832/1.065, allocations: 15.75 MB / 0.8748 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003377/1.068, allocations: 40.25 kB / 0.8749 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/1.071, allocations: 0.5939 MB / 0.8755 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009105/1.08, allocations: 2.03 MB / 0.8774 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006029/1.086, allocations: 1.642 MB / 0.879 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006042/1.092, allocations: 3.502 MB / 0.8825 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003429/1.096, allocations: 1.966 MB / 0.8844 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005155/1.101, allocations: 1.486 MB / 0.8858 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003128/1.104, allocations: 1.275 MB / 0.8871 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000504/1.104, allocations: 218.3 kB / 0.8873 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00486/1.109, allocations: 1.984 MB / 0.8892 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007316/1.11, allocations: 0.648 MB / 0.8899 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001572/1.112, allocations: 1.126 MB / 0.891 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006736/1.118, allocations: 3.552 MB / 0.8944 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.118, allocations: 0 / 0.8944 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.677e-06/1.118, allocations: 0 / 0.8944 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.492e-05/1.119, allocations: 0 / 0.8944 GB, free: 11.91 MB / 0.6075 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.005284/1.124, allocations: 2.535 MB / 0.8969 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/1.124, allocations: 8.031 kB / 0.8969 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003107/1.124, allocations: 248.5 kB / 0.8971 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/1.128, allocations: 0.5164 MB / 0.8977 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/1.13, allocations: 1.271 MB / 0.8989 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/1.13, allocations: 123.3 kB / 0.899 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/1.131, allocations: 164 kB / 0.8992 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00334/1.134, allocations: 1.858 MB / 0.901 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/1.134, allocations: 7.844 kB / 0.901 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/1.134, allocations: 76 kB / 0.9011 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.349e-05/1.134, allocations: 67.14 kB / 0.9011 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/1.137, allocations: 1.862 MB / 0.9029 GB, free: 2.969 MB / 0.6075 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.009017/1.146, allocations: 6.28 MB / 0.9091 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/1.149, allocations: 1.586 MB / 0.9106 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/1.15, allocations: 0.6481 MB / 0.9113 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007022/1.151, allocations: 0.6337 MB / 0.9119 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001507/1.152, allocations: 0.8645 MB / 0.9127 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=142): time 2.795e-06/1.152, allocations: 0 / 0.9127 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142): time 0.005537/1.158, allocations: 2.329 MB / 0.915 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.158, allocations: 201.2 kB / 0.9152 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/1.16, allocations: 1.081 MB / 0.9162 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/1.16, allocations: 65.7 kB / 0.9163 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006009/1.16, allocations: 0.7199 MB / 0.917 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004468/1.161, allocations: 477.1 kB / 0.9175 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/1.161, allocations: 238.8 kB / 0.9177 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.161, allocations: 353.9 kB / 0.918 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008812/1.162, allocations: 483.2 kB / 0.9185 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/1.163, allocations: 0.6698 MB / 0.9191 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/1.165, allocations: 1.146 MB / 0.9203 GB, free: 480 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.165, allocations: 3.938 kB / 0.9203 GB, free: 476 kB / 0.6231 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003235/1.169, allocations: 1.509 MB / 0.9217 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.169, allocations: 8 kB / 0.9217 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/1.169, allocations: 8.094 kB / 0.9218 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007547/1.169, allocations: 142.4 kB / 0.9219 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.171, allocations: 303.6 kB / 0.9222 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004239/1.175, allocations: 4.53 MB / 0.9266 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/1.177, allocations: 178.8 kB / 0.9268 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/1.177, allocations: 51.97 kB / 0.9268 GB, free: 9.289 MB / 0.6387 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.001038/1.178, allocations: 430.1 kB / 0.9272 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/1.178, allocations: 158.1 kB / 0.9274 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/1.182, allocations: 1.8 MB / 0.9291 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/1.182, allocations: 16 kB / 0.9292 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/1.182, allocations: 4 kB / 0.9292 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002909/1.185, allocations: 1.486 MB / 0.9306 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006344/1.192, allocations: 3.492 MB / 0.934 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.192, allocations: 3.938 kB / 0.934 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/1.193, allocations: 295.6 kB / 0.9343 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006126/1.194, allocations: 126.5 kB / 0.9344 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/1.194, allocations: 43.97 kB / 0.9345 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003947/1.198, allocations: 4.557 MB / 0.9389 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.198, allocations: 0 / 0.9389 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005024/1.203, allocations: 2.436 MB / 0.9413 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009247/1.204, allocations: 434.7 kB / 0.9417 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/1.204, allocations: 28 kB / 0.9417 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/1.205, allocations: 130.9 kB / 0.9419 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/1.205, allocations: 109.2 kB / 0.942 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/1.206, allocations: 63.95 kB / 0.942 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001065/1.207, allocations: 0.7619 MB / 0.9428 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/1.207, allocations: 0 / 0.9428 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001881/1.209, allocations: 0.6196 MB / 0.9434 GB, free: 7.719 MB / 0.6544 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.006451/1.215, allocations: 3.637 MB / 0.9469 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004943/1.22, allocations: 2.151 MB / 0.949 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.22, allocations: 448 / 0.949 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/1.222, allocations: 1.07 MB / 0.9501 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003332/1.225, allocations: 0.6999 MB / 0.9508 GB, free: 280 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02289/1.248, allocations: 13.05 MB / 0.9635 GB, free: 2.793 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009815/1.249, allocations: 1.394 MB / 0.9649 GB, free: 1.371 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001949/1.251, allocations: 484.2 kB / 0.9653 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.252, allocations: 0.7257 MB / 0.966 GB, free: 168 kB / 0.67 GB Notification: Performance of SimCode: time 6.91e-07/1.252, allocations: 4 kB / 0.966 GB, free: 164 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2293/1.481, allocations: 42.63 MB / 1.008 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003644/1.482, allocations: 305.7 kB / 1.008 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.13/4.612, allocations: 0 / 1.008 GB, free: 5.766 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PressurizationData_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_PressurizationData.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)