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: translateModel(BuildingSystems.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData") translateModel(BuildingSystems.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 108.9 kB / 16.41 MB, free: 6.449 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.001397/0.001397, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.513/1.513, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002623/0.002623, allocations: 289.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003786/0.003786, allocations: 99.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5821/0.5858, allocations: 86.98 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.2385/0.8243, allocations: 187 MB / 0.9497 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.574/1.398, allocations: 15.94 MB / 0.9652 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003258/1.402, allocations: 42.97 kB / 0.9653 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002763/1.404, allocations: 0.7186 MB / 0.966 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008437/1.413, allocations: 2.263 MB / 0.9682 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005754/1.419, allocations: 1.82 MB / 0.97 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005647/1.424, allocations: 3.493 MB / 0.9734 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003071/1.427, allocations: 1.654 MB / 0.975 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00442/1.432, allocations: 1.523 MB / 0.9765 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/1.434, allocations: 1.224 MB / 0.9777 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005271/1.435, allocations: 215.8 kB / 0.9779 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005581/1.44, allocations: 1.948 MB / 0.9798 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001093/1.441, allocations: 0.6568 MB / 0.9804 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002465/1.444, allocations: 1.112 MB / 0.9815 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007404/1.451, allocations: 3.532 MB / 0.985 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.451, allocations: 3.219 kB / 0.985 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/1.451, allocations: 0.625 kB / 0.985 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.608e-05/1.451, allocations: 0 / 0.985 GB, free: 1.094 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.005528/1.457, allocations: 2.597 MB / 0.9875 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.102e-05/1.457, allocations: 14.22 kB / 0.9875 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003463/1.46, allocations: 0.5233 MB / 0.988 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/1.463, allocations: 1.322 MB / 0.9893 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/1.463, allocations: 126.9 kB / 0.9894 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/1.463, allocations: 168 kB / 0.9896 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003255/1.467, allocations: 1.86 MB / 0.9914 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/1.467, allocations: 6.953 kB / 0.9914 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/1.467, allocations: 70.72 kB / 0.9915 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.486e-05/1.467, allocations: 64.16 kB / 0.9915 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/1.47, allocations: 1.874 MB / 0.9934 GB, free: 14.98 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.009843/1.48, allocations: 6.258 MB / 0.9995 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/1.482, allocations: 1.504 MB / 1.001 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009488/1.483, allocations: 0.5924 MB / 1.002 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008125/1.484, allocations: 0.6272 MB / 1.002 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/1.485, allocations: 0.8772 MB / 1.003 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=142): time 3.136e-06/1.485, allocations: 0 / 1.003 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=142): time 0.005337/1.491, allocations: 2.331 MB / 1.005 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/1.491, allocations: 197.2 kB / 1.005 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/1.493, allocations: 1.089 MB / 1.007 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/1.493, allocations: 58.11 kB / 1.007 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006592/1.493, allocations: 0.7325 MB / 1.007 GB, free: 10 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004738/1.494, allocations: 491 kB / 1.008 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/1.494, allocations: 262.6 kB / 1.008 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.494, allocations: 358 kB / 1.008 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008861/1.495, allocations: 0.4968 MB / 1.009 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/1.496, allocations: 0.6687 MB / 1.009 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/1.498, allocations: 1.174 MB / 1.011 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.498, allocations: 0.9375 kB / 1.011 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003376/1.502, allocations: 1.576 MB / 1.012 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.502, allocations: 8 kB / 1.012 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.502, allocations: 0.9062 kB / 1.012 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007871/1.503, allocations: 148.7 kB / 1.012 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.504, allocations: 304.3 kB / 1.013 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004485/1.508, allocations: 4.545 MB / 1.017 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/1.51, allocations: 146 kB / 1.017 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/1.51, allocations: 61.3 kB / 1.017 GB, free: 4.789 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (162): * Single equations (assignments): 159 * 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.0009166/1.511, allocations: 417.4 kB / 1.018 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004382/1.512, allocations: 163.3 kB / 1.018 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/1.515, allocations: 1.796 MB / 1.02 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.515, allocations: 16.66 kB / 1.02 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.515, allocations: 2.406 kB / 1.02 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002787/1.518, allocations: 1.481 MB / 1.021 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006489/1.525, allocations: 3.488 MB / 1.024 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.525, allocations: 0 / 1.024 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/1.526, allocations: 301.7 kB / 1.025 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006283/1.527, allocations: 133.1 kB / 1.025 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.527, allocations: 44.61 kB / 1.025 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004438/1.531, allocations: 4.548 MB / 1.029 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.531, allocations: 0.5625 kB / 1.029 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005101/1.536, allocations: 2.447 MB / 1.032 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009922/1.537, allocations: 440.2 kB / 1.032 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/1.538, allocations: 43.55 kB / 1.032 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.539, allocations: 85.38 kB / 1.032 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/1.539, allocations: 107.6 kB / 1.032 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.539, allocations: 64.94 kB / 1.032 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001205/1.541, allocations: 0.7523 MB / 1.033 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/1.541, allocations: 0 / 1.033 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001671/1.542, allocations: 0.6305 MB / 1.034 GB, free: 13.91 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.002302/1.545, allocations: 0.7591 MB / 1.035 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003228/1.548, allocations: 1.601 MB / 1.036 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.548, allocations: 1.344 kB / 1.036 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/1.55, allocations: 1.028 MB / 1.037 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/1.553, allocations: 0.7003 MB / 1.038 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/1.56, allocations: 3.513 MB / 1.041 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.562, allocations: 1.389 MB / 1.043 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00201/1.564, allocations: 464.4 kB / 1.043 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/1.564, allocations: 167.3 kB / 1.043 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of SimCode: time 7.72e-07/1.564, allocations: 0 / 1.043 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of Templates: time 0.05937/1.624, allocations: 31.94 MB / 1.074 GB, free: 9.02 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)