Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 105.6 kB / 16.35 MB, free: 6.34 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.001238/0.001238, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.18 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.2/2.2, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.2 kB / 0.814 GB, free: 32.84 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2554, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.649/0.9044, allocations: 166.9 MB / 1.114 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01284/0.9173, allocations: 8.487 MB / 1.122 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.9196, allocations: 36.88 kB / 1.122 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.9216, allocations: 0.5725 MB / 1.123 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004822/0.9265, allocations: 1.536 MB / 1.124 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.9293, allocations: 1.003 MB / 1.125 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005218/0.9345, allocations: 4.103 MB / 1.129 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.9367, allocations: 1.325 MB / 1.131 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.9404, allocations: 1.494 MB / 1.132 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.943, allocations: 1.511 MB / 1.134 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003595/0.9434, allocations: 187.9 kB / 1.134 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.9463, allocations: 1.102 MB / 1.135 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000661/0.947, allocations: 0.6742 MB / 1.136 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.9483, allocations: 1.03 MB / 1.137 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004679/0.953, allocations: 2.759 MB / 1.139 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.9531, allocations: 1.062 kB / 1.139 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9531, allocations: 1.094 kB / 1.139 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.457e-05/0.9531, allocations: 0 / 1.139 GB, free: 5.676 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.00509/0.9582, allocations: 2.258 MB / 1.142 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.9583, allocations: 8.688 kB / 1.142 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005829/0.9589, allocations: 198.4 kB / 1.142 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.9611, allocations: 1.168 MB / 1.143 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.861e-05/0.9612, allocations: 121.2 kB / 1.143 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.9615, allocations: 151.1 kB / 1.143 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003086/0.9646, allocations: 1.924 MB / 1.145 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.9646, allocations: 1.875 kB / 1.145 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.9648, allocations: 61.44 kB / 1.145 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.9648, allocations: 38.31 kB / 1.145 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003788/0.9686, allocations: 2.479 MB / 1.148 GB, free: 18.18 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.008581/0.9772, allocations: 6.12 MB / 1.154 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003351/0.9806, allocations: 2.795 MB / 1.156 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/0.9827, allocations: 1.421 MB / 1.158 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001845/0.9845, allocations: 1.733 MB / 1.159 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.281e-05/0.9846, allocations: 62.12 kB / 1.159 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=237): time 4.178e-06/0.9846, allocations: 3.938 kB / 1.159 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=237): time 0.006237/0.9909, allocations: 3.433 MB / 1.163 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.991, allocations: 75.94 kB / 1.163 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.9923, allocations: 0.7777 MB / 1.164 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.9925, allocations: 62.14 kB / 1.164 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/0.9929, allocations: 495.6 kB / 1.164 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008555/0.9938, allocations: 0.7893 MB / 1.165 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005608/0.9943, allocations: 346 kB / 1.165 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.9945, allocations: 304.1 kB / 1.165 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.996, allocations: 0.9017 MB / 1.166 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.9978, allocations: 1.128 MB / 1.167 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003479/1.001, allocations: 2.225 MB / 1.17 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.001, allocations: 3.781 kB / 1.17 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004133/1.005, allocations: 2.433 MB / 1.172 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/1.005, allocations: 6.531 kB / 1.172 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/1.006, allocations: 4.719 kB / 1.172 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.383e-05/1.006, allocations: 18.41 kB / 1.172 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/1.007, allocations: 434.4 kB / 1.172 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.063e-05/1.007, allocations: 16.38 kB / 1.172 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.009, allocations: 151.6 kB / 1.173 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/1.009, allocations: 75.92 kB / 1.173 GB, free: 4.711 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001412/1.011, allocations: 443.3 kB / 1.173 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006458/1.011, allocations: 147.8 kB / 1.173 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/1.016, allocations: 2.733 MB / 1.176 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/1.016, allocations: 24.5 kB / 1.176 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.016, allocations: 0 / 1.176 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003495/1.02, allocations: 2.377 MB / 1.178 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006273/1.026, allocations: 4.297 MB / 1.182 GB, free: 300 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.026, allocations: 3.938 kB / 1.182 GB, free: 296 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.028, allocations: 408.2 kB / 1.183 GB, free: 232 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00052/1.028, allocations: 97.81 kB / 1.183 GB, free: 180 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/1.029, allocations: 53.95 kB / 1.183 GB, free: 144 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007092/1.029, allocations: 1.114 MB / 1.184 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.029, allocations: 0 / 1.184 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005596/1.035, allocations: 4.063 MB / 1.188 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/1.036, allocations: 479.2 kB / 1.189 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/1.036, allocations: 42.97 kB / 1.189 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008291/1.037, allocations: 52.52 kB / 1.189 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/1.037, allocations: 143.5 kB / 1.189 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/1.037, allocations: 73.59 kB / 1.189 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000678/1.038, allocations: 0.5445 MB / 1.189 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.452e-06/1.038, allocations: 0.8438 kB / 1.189 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001473/1.04, allocations: 0.6518 MB / 1.19 GB, free: 11.96 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006841/1.04, allocations: 398 kB / 1.19 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003298/1.044, allocations: 2.327 MB / 1.193 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.044, allocations: 0 / 1.193 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/1.046, allocations: 1.282 MB / 1.194 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/1.048, allocations: 0.5816 MB / 1.194 GB, free: 9.652 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005282/1.053, allocations: 3.754 MB / 1.198 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008715/1.054, allocations: 1.347 MB / 1.199 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002111/1.056, allocations: 0.7228 MB / 1.2 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005182/1.057, allocations: 155.4 kB / 1.2 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of SimCode: time 7.82e-07/1.057, allocations: 3.938 kB / 1.2 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of Templates: time 0.04425/1.101, allocations: 28.01 MB / 1.228 GB, free: 8.016 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)