Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.932/2.932, allocations: 287.3 MB / 302.3 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 184.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 95.92 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006992/0.0006996, allocations: 11.41 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2272, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.9163/1.144, allocations: 145.2 MB / 1.12 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005207/1.149, allocations: 2.298 MB / 1.122 GB, free: 468 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007234/1.15, allocations: 11.41 kB / 1.122 GB, free: 464 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/1.151, allocations: 235.7 kB / 1.122 GB, free: 420 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003288/1.154, allocations: 0.7484 MB / 1.123 GB, free: 376 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/1.157, allocations: 0.5584 MB / 1.124 GB, free: 360 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001596/1.158, allocations: 0.5896 MB / 1.124 GB, free: 332 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006025/1.159, allocations: 262 kB / 1.125 GB, free: 296 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/1.16, allocations: 468.7 kB / 1.125 GB, free: 232 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/1.161, allocations: 217 kB / 1.125 GB, free: 184 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/1.161, allocations: 18.44 kB / 1.125 GB, free: 184 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/1.163, allocations: 0.4895 MB / 1.126 GB, free: 164 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002028/1.163, allocations: 123.2 kB / 1.126 GB, free: 148 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002186/1.163, allocations: 105.5 kB / 1.126 GB, free: 16.1 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/1.164, allocations: 0.5285 MB / 1.126 GB, free: 16.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/1.165, allocations: 3.219 kB / 1.126 GB, free: 16.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.974e-06/1.165, allocations: 0 / 1.126 GB, free: 16.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.604e-06/1.165, allocations: 0 / 1.126 GB, free: 16.05 MB / 0.698 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.001624/1.166, allocations: 0.7216 MB / 1.127 GB, free: 15.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.166, allocations: 9.953 kB / 1.127 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/1.168, allocations: 178.3 kB / 1.127 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008057/1.169, allocations: 363.5 kB / 1.128 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/1.169, allocations: 22.66 kB / 1.128 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.481e-05/1.169, allocations: 33.8 kB / 1.128 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009532/1.17, allocations: 377.5 kB / 1.128 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/1.17, allocations: 2.531 kB / 1.128 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/1.17, allocations: 12.47 kB / 1.128 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/1.17, allocations: 14.09 kB / 1.128 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008312/1.171, allocations: 267.2 kB / 1.128 GB, free: 15.12 MB / 0.698 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.002795/1.174, allocations: 1.669 MB / 1.13 GB, free: 13.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/1.174, allocations: 221.9 kB / 1.13 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/1.176, allocations: 0.7054 MB / 1.131 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/1.176, allocations: 38.56 kB / 1.131 GB, free: 13.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 2.715e-06/1.176, allocations: 0 / 1.131 GB, free: 13.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001436/1.177, allocations: 375.1 kB / 1.131 GB, free: 13.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/1.177, allocations: 58.5 kB / 1.131 GB, free: 13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006898/1.178, allocations: 415 kB / 1.132 GB, free: 12.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/1.178, allocations: 31.08 kB / 1.132 GB, free: 12.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/1.178, allocations: 214.2 kB / 1.132 GB, free: 12.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.403e-05/1.178, allocations: 85.5 kB / 1.132 GB, free: 12.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/1.178, allocations: 5.75 kB / 1.132 GB, free: 12.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001688/1.178, allocations: 356.8 kB / 1.132 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/1.179, allocations: 81.17 kB / 1.132 GB, free: 12.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/1.179, allocations: 125.9 kB / 1.133 GB, free: 12.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/1.18, allocations: 101.1 kB / 1.133 GB, free: 12.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.18, allocations: 0 / 1.133 GB, free: 12.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000866/1.18, allocations: 286.2 kB / 1.133 GB, free: 12.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.18, allocations: 8.438 kB / 1.133 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.18, allocations: 0 / 1.133 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.181, allocations: 8.594 kB / 1.133 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/1.181, allocations: 56.31 kB / 1.133 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/1.181, allocations: 0 / 1.133 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/1.181, allocations: 46.44 kB / 1.133 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/1.181, allocations: 10.12 kB / 1.133 GB, free: 12.25 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003276/1.182, allocations: 175.5 kB / 1.133 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/1.182, allocations: 45.52 kB / 1.133 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009013/1.183, allocations: 301.4 kB / 1.134 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.183, allocations: 7.281 kB / 1.134 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.183, allocations: 0 / 1.134 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.183, allocations: 2.203 kB / 1.134 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/1.185, allocations: 0.8178 MB / 1.134 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/1.185, allocations: 0 / 1.134 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/1.185, allocations: 48.34 kB / 1.134 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/1.185, allocations: 5.422 kB / 1.134 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/1.185, allocations: 10.31 kB / 1.134 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/1.185, allocations: 2.875 kB / 1.134 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.185, allocations: 6.766 kB / 1.134 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/1.187, allocations: 0.5919 MB / 1.135 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/1.187, allocations: 148.8 kB / 1.135 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/1.187, allocations: 5.562 kB / 1.135 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/1.188, allocations: 27.45 kB / 1.135 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/1.188, allocations: 20.48 kB / 1.135 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/1.188, allocations: 15.42 kB / 1.135 GB, free: 11.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004816/1.188, allocations: 296.5 kB / 1.136 GB, free: 11.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.188, allocations: 0 / 1.136 GB, free: 11.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006833/1.189, allocations: 116.7 kB / 1.136 GB, free: 11.11 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005446/1.19, allocations: 185.2 kB / 1.136 GB, free: 11.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008459/1.19, allocations: 224.4 kB / 1.136 GB, free: 10.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.19, allocations: 0 / 1.136 GB, free: 10.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003839/1.191, allocations: 120 kB / 1.136 GB, free: 10.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/1.193, allocations: 221 kB / 1.136 GB, free: 10.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/1.195, allocations: 1.068 MB / 1.137 GB, free: 10.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/1.196, allocations: 0.8412 MB / 1.138 GB, free: 9.633 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005987/1.196, allocations: 84.77 kB / 1.138 GB, free: 9.613 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/1.197, allocations: 35.91 kB / 1.138 GB, free: 9.605 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/1.197, allocations: 1.031 kB / 1.138 GB, free: 9.605 MB / 0.698 GB Notification: Performance of Templates: time 0.02361/1.22, allocations: 7.4 MB / 1.146 GB, free: 6.195 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)