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.005664/0.005664, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001454/0.001454, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00238/0.00238, allocations: 290.5 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 16.45/16.45, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 104.2 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2272, allocations: 86.97 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.8257/1.053, allocations: 186.5 MB / 0.948 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02483/1.078, allocations: 15.92 MB / 0.9636 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002586/1.08, allocations: 43.75 kB / 0.9636 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002265/1.083, allocations: 0.6907 MB / 0.9643 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007698/1.09, allocations: 2.198 MB / 0.9664 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005628/1.096, allocations: 1.815 MB / 0.9682 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006183/1.102, allocations: 3.498 MB / 0.9716 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003344/1.106, allocations: 1.982 MB / 0.9736 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004488/1.11, allocations: 1.476 MB / 0.975 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/1.113, allocations: 1.232 MB / 0.9762 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004182/1.113, allocations: 216 kB / 0.9764 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005064/1.118, allocations: 1.938 MB / 0.9783 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008576/1.119, allocations: 0.6543 MB / 0.979 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001738/1.121, allocations: 1.116 MB / 0.98 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007585/1.128, allocations: 3.521 MB / 0.9835 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.128, allocations: 4 kB / 0.9835 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.853e-06/1.128, allocations: 0 / 0.9835 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.063e-05/1.128, allocations: 0 / 0.9835 GB, free: 4.027 MB / 0.7325 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.005513/1.134, allocations: 2.604 MB / 0.986 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/1.134, allocations: 12.03 kB / 0.986 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003336/1.134, allocations: 240.6 kB / 0.9863 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/1.138, allocations: 0.5294 MB / 0.9868 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/1.141, allocations: 1.323 MB / 0.9881 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/1.141, allocations: 127.3 kB / 0.9882 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/1.141, allocations: 164 kB / 0.9884 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003441/1.144, allocations: 1.86 MB / 0.9902 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.987e-05/1.145, allocations: 3.953 kB / 0.9902 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/1.145, allocations: 79.94 kB / 0.9903 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.852e-05/1.145, allocations: 63.14 kB / 0.9903 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/1.148, allocations: 1.866 MB / 0.9921 GB, free: 10.95 MB / 0.7481 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.01037/1.159, allocations: 6.262 MB / 0.9983 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/1.161, allocations: 1.593 MB / 0.9998 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/1.163, allocations: 0.6514 MB / 1 GB, free: 2.059 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008139/1.164, allocations: 0.6298 MB / 1.001 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/1.165, allocations: 0.8607 MB / 1.002 GB, free: 432 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=142): time 3.236e-06/1.165, allocations: 0 / 1.002 GB, free: 432 kB / 0.7481 GB Notification: Performance of matching and sorting (n=142): time 0.005909/1.171, allocations: 2.342 MB / 1.004 GB, free: 14 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/1.171, allocations: 201.2 kB / 1.004 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/1.173, allocations: 1.089 MB / 1.005 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/1.173, allocations: 57.7 kB / 1.005 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007091/1.174, allocations: 0.7291 MB / 1.006 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004999/1.174, allocations: 0.4918 MB / 1.007 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/1.175, allocations: 242.8 kB / 1.007 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.175, allocations: 353.9 kB / 1.007 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009505/1.176, allocations: 482.4 kB / 1.008 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/1.177, allocations: 0.6639 MB / 1.008 GB, free: 9.598 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/1.179, allocations: 1.146 MB / 1.009 GB, free: 8.426 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.179, allocations: 7.938 kB / 1.009 GB, free: 8.418 MB / 0.7637 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003687/1.183, allocations: 1.518 MB / 1.011 GB, free: 6.883 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/1.183, allocations: 11.94 kB / 1.011 GB, free: 6.871 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.183, allocations: 4.141 kB / 1.011 GB, free: 6.867 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008663/1.184, allocations: 150.4 kB / 1.011 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.185, allocations: 295.6 kB / 1.011 GB, free: 6.422 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005029/1.19, allocations: 4.538 MB / 1.016 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/1.192, allocations: 141.5 kB / 1.016 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002885/1.193, allocations: 55.91 kB / 1.016 GB, free: 1.27 MB / 0.7637 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.001302/1.194, allocations: 418.2 kB / 1.016 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007244/1.195, allocations: 163 kB / 1.017 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00484/1.199, allocations: 1.797 MB / 1.018 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/1.199, allocations: 16 kB / 1.018 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.199, allocations: 4 kB / 1.018 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003374/1.203, allocations: 1.482 MB / 1.02 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008387/1.211, allocations: 3.503 MB / 1.023 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.211, allocations: 0 / 1.023 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/1.213, allocations: 303.6 kB / 1.024 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006974/1.213, allocations: 130.5 kB / 1.024 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/1.214, allocations: 43.97 kB / 1.024 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004985/1.219, allocations: 4.546 MB / 1.028 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/1.219, allocations: 4 kB / 1.028 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006019/1.225, allocations: 2.451 MB / 1.031 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.226, allocations: 439.8 kB / 1.031 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004633/1.226, allocations: 28 kB / 1.031 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/1.228, allocations: 90.34 kB / 1.031 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/1.228, allocations: 113.1 kB / 1.031 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002057/1.229, allocations: 63.95 kB / 1.031 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001642/1.23, allocations: 0.7541 MB / 1.032 GB, free: 344 kB / 0.7794 GB Notification: Performance of sort global known variables: time 3.61e-07/1.23, allocations: 4 kB / 1.032 GB, free: 340 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002497/1.233, allocations: 0.6273 MB / 1.033 GB, free: 15.7 MB / 0.795 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.0084/1.241, allocations: 3.631 MB / 1.036 GB, free: 12.22 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003677/1.245, allocations: 1.624 MB / 1.038 GB, free: 10.56 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.245, allocations: 8.375 kB / 1.038 GB, free: 10.55 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/1.247, allocations: 1.077 MB / 1.039 GB, free: 9.438 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003992/1.251, allocations: 0.7009 MB / 1.039 GB, free: 8.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0311/1.282, allocations: 11.53 MB / 1.051 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002014/1.284, allocations: 1.39 MB / 1.052 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002206/1.287, allocations: 464.4 kB / 1.053 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/1.288, allocations: 0.7257 MB / 1.053 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of SimCode: time 1.764e-06/1.288, allocations: 0 / 1.053 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5715/1.86, allocations: 43.27 MB / 1.095 GB, free: 289.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/17.01, allocations: 11.25 kB / 1.095 GB, free: 289.7 MB / 0.8419 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)