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.001112/0.001112, allocations: 108 kB / 15.6 MB, free: 132 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.001129/0.001129, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 286.9 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9416/0.9416, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 100 kB / 0.5953 GB, free: 27.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1343, allocations: 86.97 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.4463/0.5806, allocations: 186.5 MB / 0.8624 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01974/0.6004, allocations: 15.91 MB / 0.878 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.6021, allocations: 43.09 kB / 0.878 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.6041, allocations: 0.6924 MB / 0.8787 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005798/0.61, allocations: 2.19 MB / 0.8808 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004384/0.6144, allocations: 1.804 MB / 0.8826 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004211/0.6186, allocations: 3.488 MB / 0.886 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/0.6214, allocations: 1.989 MB / 0.8879 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.6247, allocations: 1.466 MB / 0.8894 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00187/0.6266, allocations: 1.242 MB / 0.8906 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005275/0.6271, allocations: 213.8 kB / 0.8908 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003876/0.631, allocations: 1.914 MB / 0.8926 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007783/0.6318, allocations: 0.6461 MB / 0.8933 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.6334, allocations: 1.116 MB / 0.8944 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005292/0.6387, allocations: 3.445 MB / 0.8977 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6387, allocations: 3.938 kB / 0.8977 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6387, allocations: 4 kB / 0.8977 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.128e-05/0.6388, allocations: 0 / 0.8977 GB, free: 8.699 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.005207/0.644, allocations: 2.527 MB / 0.9002 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.6441, allocations: 8.031 kB / 0.9002 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003512/0.6444, allocations: 249.7 kB / 0.9004 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003559/0.648, allocations: 0.5203 MB / 0.901 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.6501, allocations: 1.271 MB / 0.9022 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-05/0.6502, allocations: 123.3 kB / 0.9023 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/0.6505, allocations: 164 kB / 0.9025 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003173/0.6536, allocations: 1.869 MB / 0.9043 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.6537, allocations: 3.906 kB / 0.9043 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.6539, allocations: 68 kB / 0.9044 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.35e-05/0.6539, allocations: 67.14 kB / 0.9044 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003274/0.6572, allocations: 1.87 MB / 0.9063 GB, free: 15.76 MB / 0.6231 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.008537/0.6658, allocations: 6.307 MB / 0.9124 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/0.6686, allocations: 1.593 MB / 0.914 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.6698, allocations: 0.652 MB / 0.9146 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006769/0.6705, allocations: 0.6337 MB / 0.9152 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/0.672, allocations: 0.8723 MB / 0.9161 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=142): time 3.576e-06/0.672, allocations: 0 / 0.9161 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142): time 0.005698/0.6777, allocations: 2.321 MB / 0.9183 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.6778, allocations: 201.2 kB / 0.9185 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.6795, allocations: 1.089 MB / 0.9196 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.6796, allocations: 53.7 kB / 0.9196 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005849/0.6802, allocations: 0.7199 MB / 0.9204 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003967/0.6806, allocations: 477.1 kB / 0.9208 GB, free: 184 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003965/0.681, allocations: 234.8 kB / 0.921 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6812, allocations: 353.9 kB / 0.9214 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009709/0.6821, allocations: 490.3 kB / 0.9218 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.6833, allocations: 0.66 MB / 0.9225 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.6854, allocations: 1.158 MB / 0.9236 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6854, allocations: 0 / 0.9236 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003466/0.6889, allocations: 1.505 MB / 0.9251 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6889, allocations: 8 kB / 0.9251 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.689, allocations: 0 / 0.9251 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008212/0.6898, allocations: 150.5 kB / 0.9252 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.6912, allocations: 295.6 kB / 0.9255 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00407/0.6952, allocations: 4.545 MB / 0.93 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.6967, allocations: 142.8 kB / 0.9301 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.6968, allocations: 47.97 kB / 0.9301 GB, free: 6.09 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.0008128/0.6977, allocations: 422.8 kB / 0.9305 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/0.6981, allocations: 150.2 kB / 0.9307 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004054/0.7021, allocations: 1.812 MB / 0.9325 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.7022, allocations: 16 kB / 0.9325 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7022, allocations: 0 / 0.9325 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003029/0.7052, allocations: 1.482 MB / 0.9339 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006191/0.7114, allocations: 3.508 MB / 0.9373 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.7114, allocations: 0 / 0.9373 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.7129, allocations: 291.6 kB / 0.9376 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006549/0.7135, allocations: 134.4 kB / 0.9377 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.7137, allocations: 47.97 kB / 0.9378 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003841/0.7175, allocations: 4.542 MB / 0.9422 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7175, allocations: 0 / 0.9422 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004774/0.7223, allocations: 2.44 MB / 0.9446 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007595/0.7231, allocations: 426.7 kB / 0.945 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.7233, allocations: 31.94 kB / 0.945 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.7246, allocations: 99.72 kB / 0.9451 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/0.7249, allocations: 113.1 kB / 0.9452 GB, free: 6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.725, allocations: 59.97 kB / 0.9453 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001048/0.726, allocations: 0.7541 MB / 0.946 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7261, allocations: 4 kB / 0.946 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001521/0.7276, allocations: 0.6234 MB / 0.9467 GB, free: 4.555 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.006427/0.734, allocations: 3.626 MB / 0.9502 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004834/0.7389, allocations: 2.139 MB / 0.9523 GB, free: 14.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.7389, allocations: 0.75 kB / 0.9523 GB, free: 14.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.7406, allocations: 1.069 MB / 0.9533 GB, free: 13.79 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/0.7436, allocations: 0.7053 MB / 0.954 GB, free: 13.12 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/0.7637, allocations: 12.33 MB / 0.9661 GB, free: 368 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.7648, allocations: 1.386 MB / 0.9674 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001815/0.7666, allocations: 476.4 kB / 0.9679 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/0.7676, allocations: 0.7296 MB / 0.9686 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of SimCode: time 6.61e-07/0.7676, allocations: 0 / 0.9686 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08259/0.8502, allocations: 42.9 MB / 1.01 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.49, allocations: 3.75 kB / 1.01 GB, free: 3.422 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)