Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001044/0.001044, allocations: 110.1 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.001022/0.001022, allocations: 194.7 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 4.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002242/0.002242, allocations: 295.1 kB / 291.5 MB, free: 1.812 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.3 MB / 0.4989 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 99.16 kB / 0.5967 GB, free: 27.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.138, allocations: 86.97 MB / 0.6816 GB, free: 12 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.4514/0.5894, allocations: 166.9 MB / 0.8446 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.6012, allocations: 8.492 MB / 0.8529 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.603, allocations: 37 kB / 0.8529 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.6045, allocations: 0.5697 MB / 0.8535 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004283/0.6089, allocations: 1.538 MB / 0.855 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.6113, allocations: 0.9951 MB / 0.8559 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00422/0.6156, allocations: 4.105 MB / 0.86 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.6172, allocations: 1.323 MB / 0.8612 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/0.6201, allocations: 1.489 MB / 0.8627 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.6221, allocations: 1.507 MB / 0.8642 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002247/0.6223, allocations: 190 kB / 0.8643 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/0.6246, allocations: 1.104 MB / 0.8654 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006305/0.6252, allocations: 0.6713 MB / 0.8661 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.6263, allocations: 1.031 MB / 0.8671 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003007/0.6293, allocations: 2.762 MB / 0.8698 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6293, allocations: 3.938 kB / 0.8698 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6293, allocations: 4 kB / 0.8698 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.207e-05/0.6294, allocations: 0 / 0.8698 GB, free: 0.9844 MB / 0.5762 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.004293/0.6337, allocations: 2.255 MB / 0.872 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.6337, allocations: 10.03 kB / 0.872 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004776/0.6342, allocations: 202.4 kB / 0.8722 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.6363, allocations: 1.17 MB / 0.8733 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.586e-05/0.6364, allocations: 122.1 kB / 0.8735 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.6366, allocations: 148.2 kB / 0.8736 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.6394, allocations: 1.919 MB / 0.8755 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.436e-05/0.6394, allocations: 2.281 kB / 0.8755 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.6396, allocations: 64.72 kB / 0.8755 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.6396, allocations: 37.56 kB / 0.8756 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003528/0.6431, allocations: 2.475 MB / 0.878 GB, free: 12.05 MB / 0.5919 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.007524/0.6507, allocations: 6.127 MB / 0.884 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/0.6541, allocations: 2.801 MB / 0.8867 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.656, allocations: 1.425 MB / 0.8881 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/0.6576, allocations: 1.734 MB / 0.8898 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.6576, allocations: 56.56 kB / 0.8898 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=237): time 3.937e-06/0.6577, allocations: 4 kB / 0.8899 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of matching and sorting (n=237): time 0.005541/0.6632, allocations: 3.434 MB / 0.8932 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.6633, allocations: 73.41 kB / 0.8933 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009994/0.6643, allocations: 0.7782 MB / 0.894 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.6644, allocations: 65.7 kB / 0.8941 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.6648, allocations: 498.1 kB / 0.8946 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006355/0.6654, allocations: 0.7852 MB / 0.8953 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005047/0.6659, allocations: 351.6 kB / 0.8957 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.6661, allocations: 301.1 kB / 0.896 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.6674, allocations: 0.9019 MB / 0.8968 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.669, allocations: 1.121 MB / 0.8979 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.6721, allocations: 2.231 MB / 0.9001 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.6721, allocations: 0 / 0.9001 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003869/0.676, allocations: 2.438 MB / 0.9025 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.6761, allocations: 8.469 kB / 0.9025 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.6761, allocations: 8 kB / 0.9025 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.6761, allocations: 15.94 kB / 0.9025 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.6778, allocations: 435.4 kB / 0.9029 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.6778, allocations: 12.78 kB / 0.903 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.6789, allocations: 158.3 kB / 0.9031 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.679, allocations: 75.98 kB / 0.9032 GB, free: 3.09 MB / 0.6075 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.0006572/0.6797, allocations: 441.9 kB / 0.9036 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/0.68, allocations: 142.2 kB / 0.9037 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004244/0.6842, allocations: 2.726 MB / 0.9064 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.6842, allocations: 24 kB / 0.9064 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.6843, allocations: 0 / 0.9064 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003245/0.6875, allocations: 2.377 MB / 0.9087 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005977/0.6935, allocations: 4.298 MB / 0.9129 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.6935, allocations: 3.938 kB / 0.9129 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.6952, allocations: 407.4 kB / 0.9133 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/0.6957, allocations: 101.7 kB / 0.9134 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.6959, allocations: 51.98 kB / 0.9135 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006771/0.6965, allocations: 1.126 MB / 0.9146 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6966, allocations: 0 / 0.9146 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005855/0.7024, allocations: 4.057 MB / 0.9185 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.7035, allocations: 478.6 kB / 0.919 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/0.7037, allocations: 40 kB / 0.919 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008302/0.7045, allocations: 51.98 kB / 0.9191 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/0.7048, allocations: 145.8 kB / 0.9192 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/0.7049, allocations: 67.98 kB / 0.9193 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006863/0.7056, allocations: 0.5459 MB / 0.9198 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.623e-06/0.7056, allocations: 0 / 0.9198 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001463/0.7071, allocations: 0.6514 MB / 0.9205 GB, free: 1.129 MB / 0.6231 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.0006576/0.7078, allocations: 389.1 kB / 0.9208 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003372/0.7112, allocations: 2.328 MB / 0.9231 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7112, allocations: 0.9375 kB / 0.9231 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.713, allocations: 1.28 MB / 0.9244 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/0.7152, allocations: 0.5677 MB / 0.9249 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005159/0.7204, allocations: 3.765 MB / 0.9286 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008453/0.7213, allocations: 1.347 MB / 0.9299 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001815/0.7231, allocations: 0.7228 MB / 0.9306 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000484/0.7236, allocations: 163.4 kB / 0.9308 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.7236, allocations: 0 / 0.9308 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of Templates: time 0.04149/0.7651, allocations: 28.03 MB / 0.9581 GB, free: 10.84 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)