Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.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.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008212/0.0008213, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005203/0.005203, allocations: 171.1 kB / 16.26 MB, free: 6.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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001718, allocations: 266.9 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9542/0.9542, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003909, allocations: 12.59 kB / 0.5986 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.18, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.5302/0.7102, allocations: 169.3 MB / 0.8505 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003806/0.7141, allocations: 2.295 MB / 0.8527 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003192/0.7144, allocations: 13.66 kB / 0.8527 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007088/0.7151, allocations: 183.6 kB / 0.8529 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.7173, allocations: 0.8801 MB / 0.8538 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.7193, allocations: 0.7607 MB / 0.8545 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.7208, allocations: 1.34 MB / 0.8558 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004372/0.7212, allocations: 279.5 kB / 0.8561 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006497/0.7219, allocations: 407.2 kB / 0.8565 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.7223, allocations: 320.1 kB / 0.8568 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.7223, allocations: 23.56 kB / 0.8568 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.7242, allocations: 1.167 MB / 0.8579 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.7244, allocations: 135.3 kB / 0.8581 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.7246, allocations: 248.4 kB / 0.8583 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.7257, allocations: 0.9431 MB / 0.8592 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7257, allocations: 6.906 kB / 0.8592 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7258, allocations: 0 / 0.8592 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.7258, allocations: 0 / 0.8592 GB, free: 8.152 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001136/0.7269, allocations: 0.7252 MB / 0.8599 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.727, allocations: 10.84 kB / 0.8599 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.7281, allocations: 181.7 kB / 0.8601 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.7286, allocations: 377 kB / 0.8605 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.7286, allocations: 23.56 kB / 0.8605 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.7287, allocations: 33.59 kB / 0.8605 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006017/0.7293, allocations: 369.7 kB / 0.8609 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.7293, allocations: 8.984 kB / 0.8609 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.7294, allocations: 10.75 kB / 0.8609 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.7294, allocations: 13.03 kB / 0.8609 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/0.7299, allocations: 270.5 kB / 0.8612 GB, free: 6.691 MB / 0.5762 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.001736/0.7316, allocations: 1.677 MB / 0.8628 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.732, allocations: 207 kB / 0.863 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.7322, allocations: 126.1 kB / 0.8631 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.7333, allocations: 0.8819 MB / 0.864 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.7333, allocations: 40.25 kB / 0.864 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.7334, allocations: 0 / 0.864 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0008685/0.7342, allocations: 377.6 kB / 0.8644 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.7343, allocations: 57.84 kB / 0.8644 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.7347, allocations: 419.8 kB / 0.8648 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.7348, allocations: 32.88 kB / 0.8649 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.7349, allocations: 215.8 kB / 0.8651 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.121e-05/0.735, allocations: 82.19 kB / 0.8652 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.7351, allocations: 29.27 kB / 0.8652 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.7352, allocations: 351 kB / 0.8655 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.7354, allocations: 86.94 kB / 0.8656 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.7356, allocations: 129.3 kB / 0.8657 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.736, allocations: 218.3 kB / 0.8659 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.736, allocations: 0 / 0.8659 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000495/0.7365, allocations: 303 kB / 0.8662 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.7365, allocations: 5.125 kB / 0.8662 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7366, allocations: 2.875 kB / 0.8662 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.7366, allocations: 3.344 kB / 0.8662 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.7368, allocations: 52.38 kB / 0.8663 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.7368, allocations: 2.625 kB / 0.8663 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.7371, allocations: 48.67 kB / 0.8663 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.7371, allocations: 11.94 kB / 0.8663 GB, free: 2.336 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001902/0.7373, allocations: 165.6 kB / 0.8665 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.7374, allocations: 43.48 kB / 0.8665 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006117/0.738, allocations: 294.6 kB / 0.8668 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.738, allocations: 2.969 kB / 0.8668 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.738, allocations: 0 / 0.8668 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.7381, allocations: 7.922 kB / 0.8668 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.7393, allocations: 0.8213 MB / 0.8676 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.7393, allocations: 10.97 kB / 0.8676 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.7395, allocations: 43.14 kB / 0.8677 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.7396, allocations: 6.766 kB / 0.8677 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.7396, allocations: 9.531 kB / 0.8677 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.7396, allocations: 5 kB / 0.8677 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7396, allocations: 0 / 0.8677 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007268/0.7403, allocations: 0.5231 MB / 0.8682 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.7405, allocations: 146.4 kB / 0.8684 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/0.7405, allocations: 6.875 kB / 0.8684 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.7408, allocations: 29.72 kB / 0.8684 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.7409, allocations: 14.89 kB / 0.8684 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.7409, allocations: 15.98 kB / 0.8684 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002803/0.7412, allocations: 297 kB / 0.8687 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7412, allocations: 7.875 kB / 0.8687 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004375/0.7416, allocations: 120.2 kB / 0.8688 GB, free: 0.5703 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.0004099/0.7421, allocations: 178.1 kB / 0.869 GB, free: 456 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.7425, allocations: 221.2 kB / 0.8692 GB, free: 364 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7425, allocations: 0 / 0.8692 GB, free: 364 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.7428, allocations: 120.8 kB / 0.8693 GB, free: 316 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.744, allocations: 223.3 kB / 0.8695 GB, free: 204 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.7455, allocations: 1.105 MB / 0.8706 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.7459, allocations: 0.8252 MB / 0.8714 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002724/0.7461, allocations: 94.03 kB / 0.8715 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.578e-05/0.7462, allocations: 32.22 kB / 0.8715 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.7462, allocations: 0 / 0.8715 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of Templates: time 0.01256/0.7588, allocations: 7.646 MB / 0.879 GB, free: 8.824 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)