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.004975/0.004975, allocations: 102 kB / 15.73 MB, free: 6.051 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.001073/0.001073, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002231/0.002231, allocations: 289.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9283/0.9283, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003208/0.003209, allocations: 103.8 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4243, allocations: 86.98 MB / 0.7659 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.171/0.5954, allocations: 186.5 MB / 0.948 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.388/0.9834, allocations: 15.9 MB / 0.9636 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.9851, allocations: 46.88 kB / 0.9636 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.9868, allocations: 0.7104 MB / 0.9643 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005838/0.9927, allocations: 2.26 MB / 0.9665 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004751/0.9974, allocations: 1.822 MB / 0.9683 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00532/1.003, allocations: 3.504 MB / 0.9717 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00266/1.005, allocations: 1.997 MB / 0.9737 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003393/1.009, allocations: 1.52 MB / 0.9752 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00978/1.019, allocations: 1.228 MB / 0.9764 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004946/1.019, allocations: 214.5 kB / 0.9766 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/1.023, allocations: 1.947 MB / 0.9785 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006017/1.024, allocations: 0.6518 MB / 0.9791 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001335/1.025, allocations: 1.12 MB / 0.9802 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004443/1.03, allocations: 3.512 MB / 0.9836 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.03, allocations: 0 / 0.9836 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/1.03, allocations: 0 / 0.9836 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.839e-05/1.03, allocations: 0.9062 kB / 0.9836 GB, free: 1.016 MB / 0.7169 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.003875/1.034, allocations: 2.529 MB / 0.9861 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.034, allocations: 8.469 kB / 0.9861 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/1.034, allocations: 243 kB / 0.9863 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/1.037, allocations: 0.5135 MB / 0.9868 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/1.039, allocations: 1.312 MB / 0.9881 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.761e-05/1.039, allocations: 132.2 kB / 0.9882 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/1.039, allocations: 159 kB / 0.9884 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/1.042, allocations: 1.876 MB / 0.9902 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/1.042, allocations: 0.9688 kB / 0.9902 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/1.042, allocations: 70.97 kB / 0.9903 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.214e-05/1.042, allocations: 66.39 kB / 0.9904 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/1.045, allocations: 1.867 MB / 0.9922 GB, free: 14.95 MB / 0.7325 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.007073/1.052, allocations: 6.252 MB / 0.9983 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/1.054, allocations: 1.58 MB / 0.9998 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000933/1.055, allocations: 0.6463 MB / 1 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/1.056, allocations: 0.6256 MB / 1.001 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/1.057, allocations: 0.8683 MB / 1.002 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=142): time 3.217e-06/1.057, allocations: 0.6562 kB / 1.002 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=142): time 0.005103/1.062, allocations: 2.328 MB / 1.004 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.062, allocations: 198.2 kB / 1.004 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/1.064, allocations: 1.087 MB / 1.005 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/1.064, allocations: 57.8 kB / 1.005 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005777/1.065, allocations: 0.7228 MB / 1.006 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003786/1.065, allocations: 476.2 kB / 1.007 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003532/1.065, allocations: 248.2 kB / 1.007 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.065, allocations: 347.7 kB / 1.007 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008194/1.066, allocations: 488.4 kB / 1.008 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/1.067, allocations: 0.6578 MB / 1.008 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/1.069, allocations: 1.15 MB / 1.009 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.069, allocations: 6.188 kB / 1.009 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003037/1.072, allocations: 1.512 MB / 1.011 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.072, allocations: 9.859 kB / 1.011 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.072, allocations: 3.375 kB / 1.011 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007585/1.073, allocations: 140.1 kB / 1.011 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.074, allocations: 298.2 kB / 1.011 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/1.078, allocations: 4.538 MB / 1.016 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.079, allocations: 135.4 kB / 1.016 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.079, allocations: 53.98 kB / 1.016 GB, free: 4.82 MB / 0.7325 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.0007255/1.08, allocations: 413.3 kB / 1.016 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/1.08, allocations: 158.8 kB / 1.017 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/1.084, allocations: 1.808 MB / 1.018 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/1.084, allocations: 17.44 kB / 1.018 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.084, allocations: 0 / 1.018 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002583/1.086, allocations: 1.483 MB / 1.02 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005613/1.092, allocations: 3.501 MB / 1.023 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.092, allocations: 0.875 kB / 1.023 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.093, allocations: 296.6 kB / 1.023 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005829/1.094, allocations: 132.9 kB / 1.024 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/1.094, allocations: 42.19 kB / 1.024 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003584/1.097, allocations: 4.545 MB / 1.028 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.098, allocations: 1.031 kB / 1.028 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004579/1.102, allocations: 2.439 MB / 1.03 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007973/1.103, allocations: 428.2 kB / 1.031 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/1.103, allocations: 36.66 kB / 1.031 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.104, allocations: 91.62 kB / 1.031 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/1.104, allocations: 105 kB / 1.031 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.105, allocations: 65.33 kB / 1.031 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009468/1.106, allocations: 0.7575 MB / 1.032 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/1.106, allocations: 0 / 1.032 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001457/1.107, allocations: 0.625 MB / 1.032 GB, free: 14.02 MB / 0.7481 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.005766/1.113, allocations: 3.644 MB / 1.036 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002669/1.115, allocations: 1.619 MB / 1.038 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/1.115, allocations: 2.938 kB / 1.038 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/1.117, allocations: 1.078 MB / 1.039 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/1.12, allocations: 0.6955 MB / 1.039 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/1.138, allocations: 11.47 MB / 1.051 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009314/1.139, allocations: 1.39 MB / 1.052 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001628/1.141, allocations: 460.4 kB / 1.052 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009958/1.142, allocations: 0.7335 MB / 1.053 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of SimCode: time 8.92e-07/1.142, allocations: 0 / 1.053 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09145/1.233, allocations: 43.27 MB / 1.095 GB, free: 1.633 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/15.21, allocations: 13.08 kB / 1.095 GB, free: 1.625 MB / 0.795 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)