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.001277/0.001277, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001147/0.001147, allocations: 173 kB / 23.49 MB, free: 1.059 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.9499/0.9499, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.001613/0.001613, allocations: 232.7 kB / 260.5 MB, free: 12.9 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.709/0.709, allocations: 138.4 MB / 455.4 MB, free: 1.477 MB / 362.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.553e-06/1.553e-06, allocations: 0 / 0.555 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.59e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.3298/0.3298, allocations: 170.3 MB / 0.7214 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002774/0.3326, allocations: 2.326 MB / 0.7236 GB, free: 348 kB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.3328, allocations: 23.81 kB / 0.7237 GB, free: 324 kB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.3334, allocations: 238.3 kB / 0.7239 GB, free: 84 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.3351, allocations: 0.9715 MB / 0.7248 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.3365, allocations: 0.8836 MB / 0.7257 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0007985/0.3373, allocations: 0.9738 MB / 0.7266 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.3376, allocations: 279.5 kB / 0.7269 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005389/0.3382, allocations: 0.5842 MB / 0.7275 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.3384, allocations: 279.1 kB / 0.7277 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.3385, allocations: 32 kB / 0.7278 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009109/0.3394, allocations: 0.8371 MB / 0.7286 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.3395, allocations: 163.5 kB / 0.7287 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.3396, allocations: 163.6 kB / 0.7289 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0008128/0.3405, allocations: 0.8021 MB / 0.7297 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3405, allocations: 0 / 0.7297 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3405, allocations: 0 / 0.7297 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.3405, allocations: 4 kB / 0.7297 GB, free: 10.1 MB / 0.5417 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.0008679/0.3413, allocations: 0.8295 MB / 0.7305 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3414, allocations: 12.75 kB / 0.7305 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000841/0.3422, allocations: 250.9 kB / 0.7308 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.3426, allocations: 338.7 kB / 0.7311 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3426, allocations: 25.47 kB / 0.7311 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.3427, allocations: 28 kB / 0.7311 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.3433, allocations: 361 kB / 0.7315 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3433, allocations: 3.938 kB / 0.7315 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.3433, allocations: 12 kB / 0.7315 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.3434, allocations: 12 kB / 0.7315 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.3435, allocations: 126.2 kB / 0.7316 GB, free: 8.02 MB / 0.5417 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.001119/0.3447, allocations: 1.542 MB / 0.7331 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3449, allocations: 124.9 kB / 0.7332 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.442e-05/0.3449, allocations: 51.61 kB / 0.7333 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003497/0.3453, allocations: 123.9 kB / 0.7334 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.3453, allocations: 41.39 kB / 0.7335 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=23): time 1.944e-06/0.3453, allocations: 7.938 kB / 0.7335 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23): time 0.0004549/0.3458, allocations: 212.7 kB / 0.7337 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.3458, allocations: 55.41 kB / 0.7337 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.346, allocations: 354.8 kB / 0.7341 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3461, allocations: 33.7 kB / 0.7341 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.3462, allocations: 271.2 kB / 0.7343 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.3462, allocations: 87.27 kB / 0.7344 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.157e-05/0.3463, allocations: 59.31 kB / 0.7345 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3464, allocations: 0.5196 MB / 0.735 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.09e-05/0.3465, allocations: 35.98 kB / 0.735 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3466, allocations: 139.7 kB / 0.7352 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3467, allocations: 119.6 kB / 0.7353 GB, free: 4.078 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3467, allocations: 0 / 0.7353 GB, free: 4.078 MB / 0.5417 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002326/0.347, allocations: 194.3 kB / 0.7355 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.347, allocations: 7.938 kB / 0.7355 GB, free: 3.875 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.347, allocations: 4 kB / 0.7355 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.347, allocations: 0 / 0.7355 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.3471, allocations: 55.91 kB / 0.7355 GB, free: 3.816 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3471, allocations: 4.062 kB / 0.7355 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.73e-05/0.3472, allocations: 23.84 kB / 0.7355 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3472, allocations: 8 kB / 0.7356 GB, free: 3.781 MB / 0.5417 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 9.357e-05/0.3473, allocations: 172.5 kB / 0.7357 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.3474, allocations: 39.81 kB / 0.7358 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.3476, allocations: 188.4 kB / 0.7359 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3476, allocations: 7.984 kB / 0.7359 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.3476, allocations: 0 / 0.7359 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3476, allocations: 0 / 0.7359 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006264/0.3483, allocations: 0.6718 MB / 0.7366 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3483, allocations: 0 / 0.7366 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.3484, allocations: 47.92 kB / 0.7366 GB, free: 2.586 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3484, allocations: 0 / 0.7366 GB, free: 2.586 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3484, allocations: 4 kB / 0.7367 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3484, allocations: 4 kB / 0.7367 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3484, allocations: 11.92 kB / 0.7367 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.3487, allocations: 417.5 kB / 0.7371 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/0.3488, allocations: 59.67 kB / 0.7371 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.3488, allocations: 11.98 kB / 0.7371 GB, free: 2.047 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.349, allocations: 11.94 kB / 0.7371 GB, free: 2.035 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.349, allocations: 15.97 kB / 0.7372 GB, free: 2.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.349, allocations: 12.75 kB / 0.7372 GB, free: 2.008 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001375/0.3492, allocations: 251 kB / 0.7374 GB, free: 1.77 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.3492, allocations: 0 / 0.7374 GB, free: 1.77 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002939/0.3495, allocations: 127.7 kB / 0.7375 GB, free: 1.645 MB / 0.5417 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.0002276/0.3497, allocations: 168.8 kB / 0.7377 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.3499, allocations: 137.1 kB / 0.7378 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3499, allocations: 0 / 0.7378 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.596e-05/0.35, allocations: 79.66 kB / 0.7379 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.3505, allocations: 168.1 kB / 0.7381 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.352, allocations: 0.8279 MB / 0.7389 GB, free: 240 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.82e-05/0.3521, allocations: 116.6 kB / 0.739 GB, free: 104 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.3522, allocations: 62.92 kB / 0.739 GB, free: 44 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/0.3523, allocations: 28.5 kB / 0.7391 GB, free: 16 kB / 0.5417 GB Notification: Performance of SimCode: time 7.61e-07/0.3523, allocations: 0 / 0.7391 GB, free: 16 kB / 0.5417 GB Notification: Performance of Templates: time 0.008717/0.361, allocations: 6.607 MB / 0.7455 GB, free: 9.629 MB / 0.5573 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8936565031763166]