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.001287/0.001294, allocations: 102.4 kB / 16.41 MB, free: 6.488 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.001271/0.001271, allocations: 189.7 kB / 17.34 MB, free: 5.727 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00223/0.00223, allocations: 289.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9419/0.9419, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4908, allocations: 86.98 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.1892/0.6801, allocations: 166.9 MB / 0.93 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.6935, allocations: 8.493 MB / 0.9383 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.6954, allocations: 35.81 kB / 0.9384 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.6975, allocations: 0.5706 MB / 0.9389 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004751/0.7022, allocations: 1.543 MB / 0.9404 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.7053, allocations: 0.9927 MB / 0.9414 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006114/0.7114, allocations: 4.1 MB / 0.9454 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/0.7138, allocations: 1.319 MB / 0.9467 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004212/0.7181, allocations: 1.52 MB / 0.9482 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.7211, allocations: 1.515 MB / 0.9496 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007156/0.7218, allocations: 188 kB / 0.9498 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00355/0.7254, allocations: 1.1 MB / 0.9509 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001179/0.7266, allocations: 0.67 MB / 0.9516 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002603/0.7292, allocations: 1.027 MB / 0.9526 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005367/0.7346, allocations: 2.764 MB / 0.9553 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.7346, allocations: 4 kB / 0.9553 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.276e-06/0.7346, allocations: 0 / 0.9553 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.447e-05/0.7347, allocations: 0 / 0.9553 GB, free: 2.438 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004913/0.7396, allocations: 2.262 MB / 0.9575 GB, free: 120 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.7397, allocations: 11.97 kB / 0.9575 GB, free: 108 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4342/1.174, allocations: 190.9 kB / 0.9577 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003006/1.177, allocations: 1.181 MB / 0.9588 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/1.177, allocations: 112.1 kB / 0.9589 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003858/1.177, allocations: 147.3 kB / 0.9591 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004377/1.182, allocations: 1.926 MB / 0.9609 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/1.182, allocations: 6.609 kB / 0.961 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/1.182, allocations: 60.88 kB / 0.961 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/1.182, allocations: 36.34 kB / 0.961 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004476/1.187, allocations: 2.48 MB / 0.9635 GB, free: 188 MB / 0.7169 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.008447/1.195, allocations: 6.11 MB / 0.9694 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/1.198, allocations: 2.801 MB / 0.9722 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/1.2, allocations: 1.423 MB / 0.9736 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/1.201, allocations: 1.729 MB / 0.9752 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/1.201, allocations: 60.56 kB / 0.9753 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=237): time 4.338e-06/1.201, allocations: 0 / 0.9753 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=237): time 0.004855/1.206, allocations: 3.439 MB / 0.9787 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/1.206, allocations: 73.41 kB / 0.9787 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008985/1.207, allocations: 0.7706 MB / 0.9795 GB, free: 175 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/1.207, allocations: 65.7 kB / 0.9795 GB, free: 175 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/1.208, allocations: 0.4917 MB / 0.98 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004458/1.208, allocations: 0.7847 MB / 0.9808 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004123/1.208, allocations: 343.6 kB / 0.9811 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.08e-05/1.208, allocations: 309.1 kB / 0.9814 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/1.21, allocations: 0.9022 MB / 0.9823 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/1.211, allocations: 1.125 MB / 0.9834 GB, free: 171 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/1.214, allocations: 2.228 MB / 0.9856 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/1.214, allocations: 2.375 kB / 0.9856 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003453/1.217, allocations: 2.44 MB / 0.988 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/1.217, allocations: 8 kB / 0.988 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.217, allocations: 4 kB / 0.988 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/1.217, allocations: 12 kB / 0.988 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/1.219, allocations: 436.4 kB / 0.9884 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.162e-05/1.219, allocations: 18.3 kB / 0.9884 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/1.22, allocations: 150.3 kB / 0.9886 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/1.22, allocations: 79.92 kB / 0.9886 GB, free: 165.6 MB / 0.7169 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.0006466/1.221, allocations: 443.4 kB / 0.9891 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/1.221, allocations: 138.3 kB / 0.9892 GB, free: 165 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/1.225, allocations: 2.722 MB / 0.9918 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/1.225, allocations: 27.94 kB / 0.9919 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.225, allocations: 3.938 kB / 0.9919 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00279/1.228, allocations: 2.381 MB / 0.9942 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005419/1.233, allocations: 4.297 MB / 0.9984 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.234, allocations: 4 kB / 0.9984 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.235, allocations: 407.4 kB / 0.9988 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005589/1.236, allocations: 97.39 kB / 0.9989 GB, free: 155 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/1.236, allocations: 56.91 kB / 0.9989 GB, free: 154.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005133/1.236, allocations: 1.12 MB / 1 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.236, allocations: 0.8125 kB / 1 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005258/1.242, allocations: 4.057 MB / 1.004 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009072/1.243, allocations: 478.6 kB / 1.004 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/1.243, allocations: 47.94 kB / 1.004 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009494/1.244, allocations: 51.67 kB / 1.005 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/1.244, allocations: 141.8 kB / 1.005 GB, free: 149 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.244, allocations: 70.17 kB / 1.005 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006371/1.245, allocations: 0.5459 MB / 1.005 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.245, allocations: 3.938 kB / 1.005 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001393/1.246, allocations: 0.6501 MB / 1.006 GB, free: 147.7 MB / 0.7169 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.0006632/1.247, allocations: 393.5 kB / 1.006 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002999/1.25, allocations: 2.329 MB / 1.009 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.25, allocations: 0 / 1.009 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/1.252, allocations: 1.281 MB / 1.01 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/1.254, allocations: 0.5715 MB / 1.01 GB, free: 143.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/1.259, allocations: 3.821 MB / 1.014 GB, free: 139.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/1.259, allocations: 1.342 MB / 1.015 GB, free: 138 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/1.26, allocations: 183.4 kB / 1.016 GB, free: 137.8 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/1.26, allocations: 0 / 1.016 GB, free: 137.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.03543/1.296, allocations: 31.72 MB / 1.047 GB, free: 106.2 MB / 0.7169 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)