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.000796/0.000796, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008194/0.0008194, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8622/0.8622, allocations: 177.1 MB / 203.5 MB, free: 5.402 MB / 186.7 MB " [Timeout remaining time 179] 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.001548/0.001548, allocations: 245.1 kB / 260.2 MB, free: 12.88 MB / 250.7 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 0.6556/0.6556, allocations: 138.4 MB / 455.1 MB, free: 29.93 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.6475 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.763e-05, allocations: 6.219 kB / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.3378/0.3378, allocations: 153.4 MB / 0.7973 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003137/0.3409, allocations: 2.174 MB / 0.7994 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003455/0.3413, allocations: 19.81 kB / 0.7994 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006462/0.3419, allocations: 234.3 kB / 0.7996 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.3437, allocations: 0.9715 MB / 0.8006 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.3453, allocations: 0.8884 MB / 0.8015 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.3465, allocations: 0.9777 MB / 0.8024 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.347, allocations: 265.3 kB / 0.8027 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009105/0.3479, allocations: 0.5881 MB / 0.8032 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.3482, allocations: 271.2 kB / 0.8035 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.3483, allocations: 32 kB / 0.8035 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.3494, allocations: 0.841 MB / 0.8043 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.3496, allocations: 155.5 kB / 0.8045 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.3497, allocations: 171.6 kB / 0.8047 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.3511, allocations: 0.927 MB / 0.8056 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3511, allocations: 0 / 0.8056 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3511, allocations: 4 kB / 0.8056 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.3511, allocations: 0 / 0.8056 GB, free: 8.848 MB / 0.6355 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.0009669/0.3521, allocations: 0.7376 MB / 0.8063 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3521, allocations: 9.938 kB / 0.8063 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006862/0.3528, allocations: 187.4 kB / 0.8065 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.3533, allocations: 327.8 kB / 0.8068 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.3533, allocations: 20.66 kB / 0.8068 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.3533, allocations: 32.94 kB / 0.8068 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.3538, allocations: 428.4 kB / 0.8073 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3538, allocations: 0.5625 kB / 0.8073 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.3538, allocations: 15.98 kB / 0.8073 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.3539, allocations: 8 kB / 0.8073 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.3542, allocations: 261.7 kB / 0.8075 GB, free: 6.754 MB / 0.6355 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.001194/0.3554, allocations: 1.234 MB / 0.8087 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.3556, allocations: 186.5 kB / 0.8089 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.3558, allocations: 118.3 kB / 0.809 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003443/0.3561, allocations: 123.9 kB / 0.8091 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3561, allocations: 38.56 kB / 0.8092 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.3561, allocations: 0 / 0.8092 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.0005668/0.3567, allocations: 357.4 kB / 0.8095 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.3567, allocations: 51.41 kB / 0.8096 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.357, allocations: 317.7 kB / 0.8099 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.357, allocations: 33.7 kB / 0.8099 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3571, allocations: 224.5 kB / 0.8101 GB, free: 4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.3571, allocations: 87.31 kB / 0.8102 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.3572, allocations: 53.66 kB / 0.8102 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.3573, allocations: 346.8 kB / 0.8106 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.3574, allocations: 75.95 kB / 0.8107 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.3576, allocations: 176.4 kB / 0.8108 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.3578, allocations: 209.9 kB / 0.811 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3578, allocations: 4.141 kB / 0.811 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000316/0.3581, allocations: 277.2 kB / 0.8113 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3581, allocations: 8 kB / 0.8113 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3581, allocations: 96 / 0.8113 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.3582, allocations: 3.984 kB / 0.8113 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.3583, allocations: 51.97 kB / 0.8113 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3583, allocations: 7.938 kB / 0.8114 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.622e-05/0.3584, allocations: 24.78 kB / 0.8114 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.3584, allocations: 12 kB / 0.8114 GB, free: 2.637 MB / 0.6355 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.000138/0.3586, allocations: 162.4 kB / 0.8115 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.3586, allocations: 39.77 kB / 0.8116 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.359, allocations: 278.5 kB / 0.8119 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.359, allocations: 4 kB / 0.8119 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.359, allocations: 0 / 0.8119 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.359, allocations: 0 / 0.8119 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.3601, allocations: 0.7041 MB / 0.8125 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3601, allocations: 0 / 0.8125 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.3602, allocations: 47.91 kB / 0.8126 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3602, allocations: 4 kB / 0.8126 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.3602, allocations: 11.12 kB / 0.8126 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.3602, allocations: 12.12 kB / 0.8126 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.3602, allocations: 3.984 kB / 0.8126 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.3608, allocations: 499.4 kB / 0.8131 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.3608, allocations: 59.78 kB / 0.8132 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.3609, allocations: 11.92 kB / 0.8132 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.361, allocations: 15.98 kB / 0.8132 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.361, allocations: 23.25 kB / 0.8132 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.361, allocations: 8 kB / 0.8132 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001479/0.3612, allocations: 231.2 kB / 0.8134 GB, free: 464 kB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3612, allocations: 0 / 0.8134 GB, free: 464 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003012/0.3615, allocations: 131.7 kB / 0.8136 GB, free: 332 kB / 0.6355 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.000285/0.3618, allocations: 175.8 kB / 0.8137 GB, free: 148 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003219/0.3621, allocations: 205 kB / 0.8139 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3621, allocations: 7.938 kB / 0.8139 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.3622, allocations: 105.5 kB / 0.814 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.3628, allocations: 170.5 kB / 0.8142 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.3638, allocations: 0.8354 MB / 0.815 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.3639, allocations: 215.4 kB / 0.8152 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.364, allocations: 40.48 kB / 0.8152 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of SimCode: time 6.42e-07/0.364, allocations: 4 kB / 0.8153 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of Templates: time 0.006059/0.3701, allocations: 5.974 MB / 0.8211 GB, free: 8.652 MB / 0.6511 GB " [Timeout remaining time 660] 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: 5.984755722805858] Failed to read output from testmodel.py, exit status != 0: 0.3757089339196682 0.384178946 0.031161763000000002 Calling exit ...