Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_1dat1.V_flow|pow_1dat.V_flow|pow_1dat1.dp|pow_1dat.dp",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData") translateModel(Buildings.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_1dat1.V_flow|pow_1dat.V_flow|pow_1dat1.dp|pow_1dat.dp",fileNamePrefix="Buildings_9_Buildings.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.00119/0.00119, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.001112/0.001112, allocations: 194.6 kB / 17.31 MB, free: 5.613 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.3 MB / 0.6655 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 68.53 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2859, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.8762/1.162, allocations: 186.5 MB / 1.133 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02294/1.185, allocations: 15.9 MB / 1.149 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003081/1.188, allocations: 43.25 kB / 1.149 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002426/1.191, allocations: 0.6867 MB / 1.15 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007751/1.199, allocations: 2.202 MB / 1.152 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006007/1.205, allocations: 1.8 MB / 1.153 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006776/1.211, allocations: 3.511 MB / 1.157 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003646/1.215, allocations: 1.993 MB / 1.159 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004352/1.219, allocations: 1.471 MB / 1.16 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/1.222, allocations: 1.242 MB / 1.161 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005362/1.223, allocations: 214.4 kB / 1.162 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005698/1.228, allocations: 1.939 MB / 1.164 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001088/1.23, allocations: 0.6542 MB / 1.164 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001997/1.232, allocations: 1.11 MB / 1.165 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007785/1.239, allocations: 3.503 MB / 1.169 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/1.239, allocations: 3 kB / 1.169 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.417e-06/1.239, allocations: 0 / 1.169 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.634e-05/1.24, allocations: 0 / 1.169 GB, free: 11.23 MB / 0.8731 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.006491/1.246, allocations: 2.532 MB / 1.171 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.246, allocations: 10.47 kB / 1.171 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/1.25, allocations: 0.5136 MB / 1.172 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/1.253, allocations: 1.313 MB / 1.173 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/1.253, allocations: 128.4 kB / 1.173 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/1.253, allocations: 160.7 kB / 1.173 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/1.256, allocations: 1.863 MB / 1.175 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/1.256, allocations: 1.375 kB / 1.175 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/1.257, allocations: 70.03 kB / 1.175 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.962e-05/1.257, allocations: 63.92 kB / 1.175 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/1.26, allocations: 1.871 MB / 1.177 GB, free: 6.52 MB / 0.8731 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.27, allocations: 6.256 MB / 1.183 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/1.273, allocations: 1.579 MB / 1.185 GB, free: 488 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.274, allocations: 0.6447 MB / 1.185 GB, free: 160 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008628/1.275, allocations: 0.6276 MB / 1.186 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001612/1.277, allocations: 0.8698 MB / 1.187 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=142): time 3.266e-06/1.277, allocations: 4 kB / 1.187 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of matching and sorting (n=142): time 0.005511/1.282, allocations: 2.321 MB / 1.189 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/1.282, allocations: 196 kB / 1.189 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/1.284, allocations: 1.095 MB / 1.19 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/1.284, allocations: 60.02 kB / 1.19 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/1.285, allocations: 0.7113 MB / 1.191 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000427/1.285, allocations: 475.8 kB / 1.191 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004102/1.286, allocations: 264.1 kB / 1.192 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.286, allocations: 355 kB / 1.192 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009086/1.287, allocations: 0.4992 MB / 1.193 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/1.288, allocations: 0.6617 MB / 1.193 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/1.29, allocations: 1.176 MB / 1.194 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/1.29, allocations: 2.531 kB / 1.194 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.00346/1.293, allocations: 1.562 MB / 1.196 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.293, allocations: 5.469 kB / 1.196 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.293, allocations: 2.344 kB / 1.196 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007926/1.294, allocations: 155.7 kB / 1.196 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/1.296, allocations: 305.3 kB / 1.196 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/1.3, allocations: 4.529 MB / 1.201 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/1.301, allocations: 144.1 kB / 1.201 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/1.301, allocations: 65.22 kB / 1.201 GB, free: 4.254 MB / 0.8887 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.0009054/1.302, allocations: 428.2 kB / 1.201 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003608/1.303, allocations: 153.5 kB / 1.202 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003602/1.306, allocations: 1.795 MB / 1.203 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/1.306, allocations: 15.56 kB / 1.203 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.306, allocations: 4 kB / 1.203 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00274/1.309, allocations: 1.483 MB / 1.205 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006281/1.315, allocations: 3.5 MB / 1.208 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.315, allocations: 0 / 1.208 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.317, allocations: 296.2 kB / 1.208 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005854/1.317, allocations: 132.1 kB / 1.209 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/1.318, allocations: 40.81 kB / 1.209 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003715/1.321, allocations: 4.544 MB / 1.213 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.321, allocations: 0 / 1.213 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00485/1.326, allocations: 2.445 MB / 1.215 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.327, allocations: 431.4 kB / 1.216 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/1.328, allocations: 27.75 kB / 1.216 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/1.329, allocations: 95.16 kB / 1.216 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/1.329, allocations: 106.8 kB / 1.216 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/1.329, allocations: 60.38 kB / 1.216 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001121/1.33, allocations: 0.7565 MB / 1.217 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.33, allocations: 0 / 1.217 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001955/1.332, allocations: 0.6342 MB / 1.217 GB, free: 8.676 MB / 0.9044 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.001876/1.334, allocations: 0.7428 MB / 1.218 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003186/1.337, allocations: 1.651 MB / 1.22 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.337, allocations: 7.094 kB / 1.22 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/1.339, allocations: 1.075 MB / 1.221 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/1.342, allocations: 0.6981 MB / 1.222 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007031/1.349, allocations: 3.456 MB / 1.225 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.35, allocations: 1.397 MB / 1.226 GB, free: 1.777 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001846/1.352, allocations: 472.3 kB / 1.227 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/1.352, allocations: 163.4 kB / 1.227 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of SimCode: time 1.453e-06/1.352, allocations: 0 / 1.227 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of Templates: time 0.0534/1.406, allocations: 31.46 MB / 1.258 GB, free: 2.117 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)