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.001605/0.001606, allocations: 108.6 kB / 16.41 MB, free: 6.465 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.001896/0.001897, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002414/0.002414, allocations: 287 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 99.83 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.5454, allocations: 86.98 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.1837/0.7292, allocations: 166.9 MB / 0.93 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.7426, allocations: 8.486 MB / 0.9383 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.7448, allocations: 47.75 kB / 0.9384 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.7466, allocations: 0.5667 MB / 0.9389 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004615/0.7513, allocations: 1.535 MB / 0.9404 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.7541, allocations: 1.002 MB / 0.9414 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0051/0.7593, allocations: 4.1 MB / 0.9454 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/0.7613, allocations: 1.323 MB / 0.9467 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00349/0.7648, allocations: 1.524 MB / 0.9482 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002505/0.7673, allocations: 1.515 MB / 0.9497 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000405/0.7677, allocations: 188 kB / 0.9498 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.7704, allocations: 1.096 MB / 0.9509 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007151/0.7711, allocations: 0.6662 MB / 0.9516 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.7726, allocations: 1.035 MB / 0.9526 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003927/0.7765, allocations: 2.756 MB / 0.9553 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7765, allocations: 0 / 0.9553 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7765, allocations: 0 / 0.9553 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.49e-05/0.7766, allocations: 0 / 0.9553 GB, free: 2.492 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.004887/0.7815, allocations: 2.274 MB / 0.9575 GB, free: 164 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.7815, allocations: 8.031 kB / 0.9575 GB, free: 156 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4728/1.254, allocations: 189.2 kB / 0.9577 GB, free: 16.1 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/1.258, allocations: 1.17 MB / 0.9588 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/1.258, allocations: 119.1 kB / 0.9589 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003636/1.258, allocations: 151.5 kB / 0.9591 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004045/1.262, allocations: 1.921 MB / 0.9609 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/1.262, allocations: 0 / 0.9609 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/1.262, allocations: 64.47 kB / 0.961 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/1.262, allocations: 36.88 kB / 0.961 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004092/1.266, allocations: 2.477 MB / 0.9635 GB, free: 15.65 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.008743/1.275, allocations: 6.111 MB / 0.9694 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003293/1.279, allocations: 2.804 MB / 0.9722 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/1.28, allocations: 1.422 MB / 0.9735 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/1.282, allocations: 1.732 MB / 0.9752 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/1.282, allocations: 57.56 kB / 0.9753 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=237): time 5.09e-06/1.282, allocations: 0 / 0.9753 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of matching and sorting (n=237): time 0.005206/1.287, allocations: 3.439 MB / 0.9787 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/1.287, allocations: 78.53 kB / 0.9787 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009874/1.288, allocations: 0.7781 MB / 0.9795 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/1.288, allocations: 65.2 kB / 0.9796 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/1.289, allocations: 492 kB / 0.98 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005054/1.289, allocations: 0.7871 MB / 0.9808 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004521/1.29, allocations: 352.6 kB / 0.9811 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.384e-05/1.29, allocations: 301.9 kB / 0.9814 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/1.291, allocations: 0.9083 MB / 0.9823 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/1.292, allocations: 1.117 MB / 0.9834 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/1.295, allocations: 2.225 MB / 0.9856 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/1.295, allocations: 2.531 kB / 0.9856 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003921/1.299, allocations: 2.436 MB / 0.9879 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.299, allocations: 8.375 kB / 0.988 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/1.299, allocations: 2.562 kB / 0.988 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/1.299, allocations: 18.06 kB / 0.988 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.301, allocations: 434.4 kB / 0.9884 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/1.301, allocations: 11.06 kB / 0.9884 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/1.302, allocations: 163.8 kB / 0.9886 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/1.303, allocations: 77.2 kB / 0.9886 GB, free: 8.996 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.0007532/1.303, allocations: 436.9 kB / 0.989 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003317/1.304, allocations: 139.9 kB / 0.9892 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004204/1.308, allocations: 2.726 MB / 0.9918 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/1.308, allocations: 22.69 kB / 0.9919 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.308, allocations: 2.906 kB / 0.9919 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003231/1.311, allocations: 2.382 MB / 0.9942 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006197/1.317, allocations: 4.31 MB / 0.9984 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.317, allocations: 3.938 kB / 0.9984 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/1.319, allocations: 411.6 kB / 0.9988 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005491/1.319, allocations: 92.36 kB / 0.9989 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/1.32, allocations: 57.45 kB / 0.9989 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005342/1.32, allocations: 1.12 MB / 1 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.32, allocations: 4 kB / 1 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/1.326, allocations: 4.059 MB / 1.004 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/1.327, allocations: 478 kB / 1.004 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/1.327, allocations: 41.34 kB / 1.004 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008934/1.328, allocations: 50.8 kB / 1.005 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/1.329, allocations: 140.1 kB / 1.005 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/1.329, allocations: 69.03 kB / 1.005 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007072/1.33, allocations: 0.5511 MB / 1.005 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.33, allocations: 2.344 kB / 1.005 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001533/1.331, allocations: 0.6556 MB / 1.006 GB, free: 6.16 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.000753/1.332, allocations: 391.6 kB / 1.006 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00355/1.335, allocations: 2.326 MB / 1.009 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/1.335, allocations: 1.094 kB / 1.009 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/1.337, allocations: 1.284 MB / 1.01 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/1.34, allocations: 0.5791 MB / 1.01 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005405/1.345, allocations: 3.818 MB / 1.014 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/1.346, allocations: 1.337 MB / 1.015 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008764/1.347, allocations: 187.4 kB / 1.016 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of SimCode: time 1.292e-06/1.347, allocations: 0 / 1.016 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of Templates: time 0.04737/1.394, allocations: 31.93 MB / 1.047 GB, free: 10.19 MB / 0.7481 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)