Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007885/0.0007886, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000884/0.0008841, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.622/1.622, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.0005247, allocations: 15.06 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2436, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6314/0.875, allocations: 158 MB / 0.9415 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00339/0.8785, allocations: 2.157 MB / 0.9436 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003943/0.8789, allocations: 14.62 kB / 0.9437 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006273/0.8795, allocations: 152.3 kB / 0.9438 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.8813, allocations: 0.6672 MB / 0.9444 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.8834, allocations: 0.6213 MB / 0.9451 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.8849, allocations: 1.143 MB / 0.9462 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004716/0.8854, allocations: 261 kB / 0.9464 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007487/0.8861, allocations: 405.4 kB / 0.9468 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.8865, allocations: 308.5 kB / 0.9471 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.261e-05/0.8866, allocations: 19 kB / 0.9471 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.888, allocations: 0.5324 MB / 0.9476 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.8882, allocations: 137.4 kB / 0.9478 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003782/0.8886, allocations: 113 kB / 0.9479 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008784/0.8895, allocations: 0.5489 MB / 0.9484 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8895, allocations: 0 / 0.9484 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8895, allocations: 0.5312 kB / 0.9484 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.8895, allocations: 0 / 0.9484 GB, free: 20.96 MB / 0.7325 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.001152/0.8906, allocations: 0.7409 MB / 0.9491 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.8907, allocations: 9.844 kB / 0.9491 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.8918, allocations: 177.5 kB / 0.9493 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.8923, allocations: 362.6 kB / 0.9497 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.8924, allocations: 22.23 kB / 0.9497 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.8924, allocations: 33.05 kB / 0.9497 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.893, allocations: 382.9 kB / 0.9501 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.893, allocations: 1.031 kB / 0.9501 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.8931, allocations: 12.31 kB / 0.9501 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.8931, allocations: 10.19 kB / 0.9501 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.8936, allocations: 269.9 kB / 0.9504 GB, free: 20.03 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.001629/0.8952, allocations: 1.675 MB / 0.952 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.8956, allocations: 208 kB / 0.9522 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.8958, allocations: 125.4 kB / 0.9523 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.8969, allocations: 0.8872 MB / 0.9532 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.8969, allocations: 37.25 kB / 0.9532 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.8969, allocations: 4 kB / 0.9532 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0008394/0.8978, allocations: 368.9 kB / 0.9536 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.8978, allocations: 58.03 kB / 0.9536 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.8983, allocations: 418.1 kB / 0.954 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.8983, allocations: 29.8 kB / 0.9541 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.8985, allocations: 211.3 kB / 0.9543 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/0.8985, allocations: 82.88 kB / 0.9543 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.8985, allocations: 7.281 kB / 0.9543 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.8987, allocations: 353.2 kB / 0.9547 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.8989, allocations: 82.95 kB / 0.9548 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.8991, allocations: 128.7 kB / 0.9549 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.8994, allocations: 104.4 kB / 0.955 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8994, allocations: 1 kB / 0.955 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005541/0.8999, allocations: 286.9 kB / 0.9553 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.9, allocations: 11.5 kB / 0.9553 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.9, allocations: 1.219 kB / 0.9553 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.9, allocations: 2.625 kB / 0.9553 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.9003, allocations: 51.3 kB / 0.9553 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.9003, allocations: 9.625 kB / 0.9553 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.9005, allocations: 51.5 kB / 0.9554 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.9006, allocations: 7 kB / 0.9554 GB, free: 16.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.9007, allocations: 166.2 kB / 0.9555 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.9008, allocations: 41.22 kB / 0.9556 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005617/0.9014, allocations: 297.7 kB / 0.9559 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.9014, allocations: 3.25 kB / 0.9559 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.9014, allocations: 0 / 0.9559 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.9014, allocations: 3.188 kB / 0.9559 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.9026, allocations: 0.8201 MB / 0.9567 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.9026, allocations: 2.062 kB / 0.9567 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.9028, allocations: 52.22 kB / 0.9567 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.9029, allocations: 6.219 kB / 0.9567 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.9029, allocations: 10.23 kB / 0.9567 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.9029, allocations: 4.422 kB / 0.9567 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9029, allocations: 2.406 kB / 0.9567 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/0.9036, allocations: 0.5219 MB / 0.9573 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.9038, allocations: 146.2 kB / 0.9574 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/0.9038, allocations: 5.938 kB / 0.9574 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.9041, allocations: 24.34 kB / 0.9574 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.9042, allocations: 24.03 kB / 0.9574 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.9042, allocations: 15.08 kB / 0.9575 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002994/0.9045, allocations: 298.5 kB / 0.9577 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9045, allocations: 0 / 0.9577 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004694/0.905, allocations: 119 kB / 0.9579 GB, free: 15.93 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 (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.0004107/0.9054, allocations: 186.7 kB / 0.958 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.9059, allocations: 219.2 kB / 0.9582 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9059, allocations: 5.75 kB / 0.9582 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.9061, allocations: 119.3 kB / 0.9584 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.9072, allocations: 213 kB / 0.9586 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.9086, allocations: 1.083 MB / 0.9596 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.909, allocations: 0.8249 MB / 0.9604 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002922/0.9093, allocations: 82.41 kB / 0.9605 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/0.9094, allocations: 31.84 kB / 0.9605 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.9094, allocations: 0 / 0.9605 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.01271/0.9221, allocations: 7.42 MB / 0.9678 GB, free: 13.19 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) Environment - environmentSimulation: