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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 217.4 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002612/0.002612, allocations: 282.3 kB / 313.5 MB, free: 2.945 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.195/1.195, allocations: 180.6 MB / 0.5377 GB, free: 13.18 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00293/0.00293, allocations: 105.7 kB / 0.7408 GB, free: 27.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.175, allocations: 95.38 MB / 0.8339 GB, free: 8.188 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.6191/0.7941, allocations: 177.5 MB / 1.007 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00412/0.7983, allocations: 2.315 MB / 1.01 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007666/0.799, allocations: 22.78 kB / 1.01 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008625/0.7999, allocations: 237.5 kB / 1.01 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.8026, allocations: 0.9806 MB / 1.011 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.8052, allocations: 0.8638 MB / 1.012 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001833/0.8071, allocations: 0.9782 MB / 1.013 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000537/0.8076, allocations: 266.7 kB / 1.013 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008741/0.8085, allocations: 476.2 kB / 1.013 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004529/0.8089, allocations: 331 kB / 1.014 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.356e-05/0.809, allocations: 33.72 kB / 1.014 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.8113, allocations: 1.076 MB / 1.015 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.8115, allocations: 156.7 kB / 1.015 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.8118, allocations: 239.9 kB / 1.015 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.8137, allocations: 0.8997 MB / 1.016 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.8137, allocations: 0.9688 kB / 1.016 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8137, allocations: 3.938 kB / 1.016 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.8137, allocations: 1.312 kB / 1.016 GB, free: 3.441 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001472/0.8152, allocations: 0.7462 MB / 1.017 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.8152, allocations: 14.16 kB / 1.017 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.8165, allocations: 185.8 kB / 1.017 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007304/0.8172, allocations: 327.8 kB / 1.017 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.8173, allocations: 25.12 kB / 1.017 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.8173, allocations: 31.09 kB / 1.017 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.818, allocations: 365.5 kB / 1.018 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.818, allocations: 4.594 kB / 1.018 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.818, allocations: 16.09 kB / 1.018 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.818, allocations: 11.56 kB / 1.018 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.8186, allocations: 261 kB / 1.018 GB, free: 18.65 MB / 0.7325 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.002288/0.8209, allocations: 1.645 MB / 1.019 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.8212, allocations: 199.2 kB / 1.02 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.8214, allocations: 108.1 kB / 1.02 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/0.8221, allocations: 130.4 kB / 1.02 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.8222, allocations: 34.61 kB / 1.02 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 2.986e-06/0.8222, allocations: 1.203 kB / 1.02 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0008645/0.823, allocations: 362.2 kB / 1.02 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.8231, allocations: 54.34 kB / 1.02 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.8235, allocations: 421.9 kB / 1.021 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.8235, allocations: 32.52 kB / 1.021 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.8237, allocations: 212.2 kB / 1.021 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.8237, allocations: 88.48 kB / 1.021 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.05e-05/0.8238, allocations: 53.53 kB / 1.021 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.824, allocations: 357.9 kB / 1.021 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.8241, allocations: 74.39 kB / 1.022 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.8243, allocations: 131.5 kB / 1.022 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.8246, allocations: 208.7 kB / 1.022 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8246, allocations: 0 / 1.022 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000469/0.8251, allocations: 279 kB / 1.022 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.8251, allocations: 13.19 kB / 1.022 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.8251, allocations: 3.562 kB / 1.022 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.8252, allocations: 1.062 kB / 1.022 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.8254, allocations: 52.81 kB / 1.022 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.8254, allocations: 2.969 kB / 1.022 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.8257, allocations: 38.75 kB / 1.022 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.8257, allocations: 10.16 kB / 1.022 GB, free: 16.56 MB / 0.7325 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.00017/0.8259, allocations: 163.5 kB / 1.022 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.8259, allocations: 46.83 kB / 1.022 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005219/0.8264, allocations: 282.2 kB / 1.023 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8264, allocations: 6.188 kB / 1.023 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8264, allocations: 1.969 kB / 1.023 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.8265, allocations: 3.938 kB / 1.023 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.8276, allocations: 0.784 MB / 1.023 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.8277, allocations: 9.031 kB / 1.023 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.8279, allocations: 46.84 kB / 1.024 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.8279, allocations: 4.594 kB / 1.024 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.8279, allocations: 7.344 kB / 1.024 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.8279, allocations: 3.016 kB / 1.024 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.8279, allocations: 8.703 kB / 1.024 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007098/0.8286, allocations: 0.5047 MB / 1.024 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.8288, allocations: 71.67 kB / 1.024 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.8288, allocations: 9.781 kB / 1.024 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.8291, allocations: 14.84 kB / 1.024 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.8292, allocations: 20.78 kB / 1.024 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.8292, allocations: 7.469 kB / 1.024 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003127/0.8295, allocations: 303.5 kB / 1.024 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8295, allocations: 0 / 1.024 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004864/0.83, allocations: 121.3 kB / 1.025 GB, free: 15.71 MB / 0.7325 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.0003004/0.8303, allocations: 174 kB / 1.025 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004714/0.8308, allocations: 200.5 kB / 1.025 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8308, allocations: 3.094 kB / 1.025 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.831, allocations: 112.9 kB / 1.025 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.832, allocations: 221.5 kB / 1.025 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.8335, allocations: 0.9467 MB / 1.026 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.834, allocations: 0.8267 MB / 1.027 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.8341, allocations: 41.78 kB / 1.027 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.8341, allocations: 0.9688 kB / 1.027 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of Templates: time 0.009355/0.8435, allocations: 6.666 MB / 1.034 GB, free: 13.86 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.104564927052706] Failed to read output from testmodel.py, exit status != 0: 0.8511445049662143 0.862150216 0.045948193000000005 Calling exit ...