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.001515/0.001515, allocations: 116.4 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.00162/0.00162, allocations: 194.3 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.643/1.643, 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.279/2.279, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 62.81 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3293, allocations: 140.4 MB / 0.9511 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.8695/1.199, allocations: 166.9 MB / 1.114 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01486/1.214, allocations: 8.481 MB / 1.122 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003411/1.217, allocations: 39.58 kB / 1.122 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002521/1.22, allocations: 0.5699 MB / 1.123 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007176/1.227, allocations: 1.543 MB / 1.125 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00411/1.231, allocations: 0.9974 MB / 1.125 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007833/1.239, allocations: 4.114 MB / 1.13 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003248/1.242, allocations: 1.321 MB / 1.131 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005231/1.248, allocations: 1.489 MB / 1.132 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003784/1.251, allocations: 1.509 MB / 1.134 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005866/1.252, allocations: 187.8 kB / 1.134 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004004/1.256, allocations: 1.102 MB / 1.135 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009962/1.257, allocations: 0.6713 MB / 1.136 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002161/1.259, allocations: 1.028 MB / 1.137 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00554/1.265, allocations: 2.762 MB / 1.139 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/1.265, allocations: 0 / 1.139 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.056e-06/1.265, allocations: 0.9062 kB / 1.139 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.36e-05/1.265, allocations: 0 / 1.139 GB, free: 5.695 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.006614/1.272, allocations: 2.258 MB / 1.142 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.272, allocations: 11.44 kB / 1.142 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007807/1.272, allocations: 196 kB / 1.142 GB, free: 20.35 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/1.275, allocations: 1.174 MB / 1.143 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-05/1.275, allocations: 116.7 kB / 1.143 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/1.275, allocations: 150.3 kB / 1.143 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003763/1.279, allocations: 1.924 MB / 1.145 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/1.279, allocations: 2.219 kB / 1.145 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/1.279, allocations: 61.81 kB / 1.145 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-05/1.279, allocations: 37.94 kB / 1.145 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004406/1.284, allocations: 2.478 MB / 1.148 GB, free: 18.2 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.009328/1.293, allocations: 6.121 MB / 1.154 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003576/1.297, allocations: 2.8 MB / 1.156 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/1.299, allocations: 1.424 MB / 1.158 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001688/1.3, allocations: 1.727 MB / 1.159 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/1.3, allocations: 58.66 kB / 1.159 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=237): time 4.679e-06/1.3, allocations: 0 / 1.159 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=237): time 0.005811/1.306, allocations: 3.432 MB / 1.163 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/1.306, allocations: 81.53 kB / 1.163 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/1.308, allocations: 0.7801 MB / 1.164 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/1.308, allocations: 65.77 kB / 1.164 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/1.308, allocations: 491.7 kB / 1.164 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007409/1.309, allocations: 0.7893 MB / 1.165 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005222/1.309, allocations: 345.9 kB / 1.165 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.31, allocations: 301.8 kB / 1.165 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/1.311, allocations: 0.901 MB / 1.166 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/1.313, allocations: 1.123 MB / 1.167 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/1.316, allocations: 2.231 MB / 1.17 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/1.316, allocations: 0.875 kB / 1.17 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003897/1.32, allocations: 2.436 MB / 1.172 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/1.32, allocations: 8.281 kB / 1.172 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/1.32, allocations: 3.406 kB / 1.172 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.548e-05/1.32, allocations: 22 kB / 1.172 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/1.321, allocations: 434.7 kB / 1.172 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.114e-05/1.321, allocations: 12.58 kB / 1.172 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/1.323, allocations: 149.5 kB / 1.173 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/1.323, allocations: 79.17 kB / 1.173 GB, free: 4.727 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.001037/1.324, allocations: 446.7 kB / 1.173 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005703/1.325, allocations: 145.3 kB / 1.173 GB, free: 4.395 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004873/1.33, allocations: 2.722 MB / 1.176 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/1.33, allocations: 22.66 kB / 1.176 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/1.33, allocations: 0 / 1.176 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003544/1.333, allocations: 2.383 MB / 1.178 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007243/1.34, allocations: 4.293 MB / 1.182 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/1.34, allocations: 10.06 kB / 1.182 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/1.342, allocations: 406.9 kB / 1.183 GB, free: 248 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005986/1.343, allocations: 99.28 kB / 1.183 GB, free: 196 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/1.343, allocations: 53.11 kB / 1.183 GB, free: 160 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007435/1.344, allocations: 1.118 MB / 1.184 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.344, allocations: 4.219 kB / 1.184 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006293/1.35, allocations: 4.064 MB / 1.188 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.351, allocations: 480.3 kB / 1.189 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003999/1.352, allocations: 45.34 kB / 1.189 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.353, allocations: 48.64 kB / 1.189 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/1.353, allocations: 140.3 kB / 1.189 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/1.353, allocations: 71.91 kB / 1.189 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009735/1.354, allocations: 0.5452 MB / 1.189 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.61e-07/1.354, allocations: 0 / 1.189 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002231/1.357, allocations: 0.6527 MB / 1.19 GB, free: 11.97 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.0009451/1.358, allocations: 398.9 kB / 1.19 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004163/1.362, allocations: 2.326 MB / 1.193 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.362, allocations: 0 / 1.193 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002381/1.364, allocations: 1.284 MB / 1.194 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/1.367, allocations: 0.5767 MB / 1.194 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006824/1.374, allocations: 3.753 MB / 1.198 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/1.375, allocations: 1.335 MB / 1.199 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002798/1.378, allocations: 0.7337 MB / 1.2 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000837/1.379, allocations: 155.4 kB / 1.2 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of SimCode: time 9.52e-07/1.379, allocations: 0 / 1.2 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of Templates: time 0.05313/1.432, allocations: 28.01 MB / 1.228 GB, free: 8.027 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 cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)