Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice") translateModel(IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.432/0.432, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 349.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000936/0.0009359, allocations: 98.97 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009167/0.0009167, allocations: 47.92 kB / 0.4891 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2711, allocations: 70.06 MB / 0.5575 GB, free: 44.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.3952/0.6663, allocations: 171.6 MB / 0.725 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003958/0.6703, allocations: 2.33 MB / 0.7273 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004314/0.6708, allocations: 11.47 kB / 0.7273 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006442/0.6715, allocations: 193.9 kB / 0.7275 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.6732, allocations: 0.8725 MB / 0.7283 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.6748, allocations: 0.7512 MB / 0.7291 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.6759, allocations: 1.345 MB / 0.7304 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003225/0.6762, allocations: 288.6 kB / 0.7307 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.6767, allocations: 424 kB / 0.7311 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.677, allocations: 330 kB / 0.7314 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.6771, allocations: 20.81 kB / 0.7314 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.6786, allocations: 1.163 MB / 0.7325 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.6788, allocations: 142.5 kB / 0.7327 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.679, allocations: 230.5 kB / 0.7329 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.68, allocations: 0.9543 MB / 0.7338 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6801, allocations: 0 / 0.7338 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6801, allocations: 0 / 0.7338 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.6801, allocations: 0 / 0.7338 GB, free: 1.328 MB / 0.5105 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.001255/0.6813, allocations: 0.8077 MB / 0.7346 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.6814, allocations: 9.281 kB / 0.7346 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.6826, allocations: 177 kB / 0.7348 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005324/0.6831, allocations: 370.7 kB / 0.7351 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.6831, allocations: 27.88 kB / 0.7352 GB, free: 16.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.6832, allocations: 30.38 kB / 0.7352 GB, free: 16.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006171/0.6838, allocations: 372.8 kB / 0.7356 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.6839, allocations: 4.609 kB / 0.7356 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.6839, allocations: 10.56 kB / 0.7356 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.6839, allocations: 10.22 kB / 0.7356 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.6844, allocations: 265.6 kB / 0.7358 GB, free: 16.39 MB / 0.5261 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.001522/0.6859, allocations: 1.672 MB / 0.7375 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.6863, allocations: 205.3 kB / 0.7377 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.6866, allocations: 111.6 kB / 0.7378 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009473/0.6875, allocations: 0.8743 MB / 0.7386 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.6876, allocations: 40.84 kB / 0.7387 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 2.044e-06/0.6876, allocations: 0 / 0.7387 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.0007612/0.6884, allocations: 358 kB / 0.739 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.6884, allocations: 58.22 kB / 0.7391 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.6888, allocations: 423.1 kB / 0.7395 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.6888, allocations: 26.8 kB / 0.7395 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.6889, allocations: 219 kB / 0.7397 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.689, allocations: 75.25 kB / 0.7398 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.689, allocations: 58.33 kB / 0.7398 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.6891, allocations: 346.1 kB / 0.7401 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.6893, allocations: 79.72 kB / 0.7402 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.6895, allocations: 126.7 kB / 0.7403 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.6898, allocations: 214.2 kB / 0.7406 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6898, allocations: 0 / 0.7406 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004426/0.6903, allocations: 280.9 kB / 0.7408 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6903, allocations: 9.5 kB / 0.7408 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.6903, allocations: 0 / 0.7408 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.6903, allocations: 2.125 kB / 0.7408 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.6905, allocations: 54.75 kB / 0.7409 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6906, allocations: 2.906 kB / 0.7409 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.6908, allocations: 44.12 kB / 0.7409 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.6908, allocations: 11.66 kB / 0.7409 GB, free: 13.32 MB / 0.5261 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.0001314/0.691, allocations: 163.6 kB / 0.7411 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.691, allocations: 46.16 kB / 0.7411 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/0.6915, allocations: 287.3 kB / 0.7414 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.6915, allocations: 8.516 kB / 0.7414 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6915, allocations: 4 kB / 0.7414 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6916, allocations: 2.906 kB / 0.7414 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.6927, allocations: 0.8019 MB / 0.7422 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.6927, allocations: 5.188 kB / 0.7422 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.6929, allocations: 46.72 kB / 0.7423 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.6929, allocations: 6.891 kB / 0.7423 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.6929, allocations: 12.23 kB / 0.7423 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6929, allocations: 2.531 kB / 0.7423 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.693, allocations: 5.812 kB / 0.7423 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008749/0.7017, allocations: 3.556 MB / 0.7458 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.7019, allocations: 146.8 kB / 0.7459 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.702, allocations: 6.781 kB / 0.7459 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.7022, allocations: 29.5 kB / 0.7459 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.7023, allocations: 17.06 kB / 0.7459 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.7023, allocations: 14.16 kB / 0.746 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002697/0.7026, allocations: 298.8 kB / 0.7462 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7026, allocations: 0 / 0.7462 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006066/0.7032, allocations: 183.6 kB / 0.7464 GB, free: 11.05 MB / 0.5261 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.0003754/0.7036, allocations: 202 kB / 0.7466 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004253/0.704, allocations: 214.5 kB / 0.7468 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7041, allocations: 3 kB / 0.7468 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.7042, allocations: 109.3 kB / 0.7469 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.7053, allocations: 210.5 kB / 0.7471 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.7068, allocations: 1.224 MB / 0.7483 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.7072, allocations: 0.8257 MB / 0.7491 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003225/0.7075, allocations: 96 kB / 0.7492 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.7076, allocations: 37.72 kB / 0.7493 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/0.7076, allocations: 0 / 0.7493 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.01334/0.721, allocations: 8.944 MB / 0.758 GB, free: 8.316 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)