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.001132/0.001132, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.788/1.788, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001463/0.001463, allocations: 69.28 kB / 0.6715 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2398, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6723/0.9122, allocations: 173.8 MB / 0.9531 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004897/0.9171, allocations: 2.294 MB / 0.9553 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006922/0.9179, allocations: 12.84 kB / 0.9553 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008606/0.9188, allocations: 229.4 kB / 0.9555 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.9213, allocations: 0.902 MB / 0.9564 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002767/0.9241, allocations: 0.8466 MB / 0.9572 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.9255, allocations: 0.9717 MB / 0.9582 GB, free: 272 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005335/0.9261, allocations: 328.3 kB / 0.9585 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008703/0.927, allocations: 453.7 kB / 0.9589 GB, free: 180 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004223/0.9274, allocations: 311.1 kB / 0.9592 GB, free: 168 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.259e-05/0.9275, allocations: 37.97 kB / 0.9593 GB, free: 164 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.9297, allocations: 0.9901 MB / 0.9602 GB, free: 68 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.9299, allocations: 151.4 kB / 0.9604 GB, free: 64 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.9302, allocations: 234.9 kB / 0.9606 GB, free: 64 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.9318, allocations: 0.9017 MB / 0.9615 GB, free: 0 / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9318, allocations: 1.094 kB / 0.9615 GB, free: 0 / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9318, allocations: 0 / 0.9615 GB, free: 0 / 0.7169 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.9318, allocations: 1.406 kB / 0.9615 GB, free: 0 / 0.7169 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.001432/0.9333, allocations: 0.8067 MB / 0.9623 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.9333, allocations: 9.281 kB / 0.9623 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.9346, allocations: 180.9 kB / 0.9625 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.9351, allocations: 370.1 kB / 0.9628 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.9352, allocations: 21.97 kB / 0.9628 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.9352, allocations: 35.06 kB / 0.9629 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006334/0.9359, allocations: 371.9 kB / 0.9632 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.9359, allocations: 2.438 kB / 0.9632 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.9359, allocations: 13.09 kB / 0.9632 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.936, allocations: 11.34 kB / 0.9632 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.9365, allocations: 264.5 kB / 0.9635 GB, free: 15.04 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.001936/0.9384, allocations: 1.684 MB / 0.9651 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.9389, allocations: 207.5 kB / 0.9653 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.9391, allocations: 125.9 kB / 0.9655 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/0.9403, allocations: 0.8679 MB / 0.9663 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.9403, allocations: 37.19 kB / 0.9663 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.512e-06/0.9403, allocations: 0 / 0.9663 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.001013/0.9414, allocations: 353.9 kB / 0.9667 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.9414, allocations: 57.94 kB / 0.9667 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.9419, allocations: 423.1 kB / 0.9671 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.942, allocations: 30.02 kB / 0.9672 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.9421, allocations: 213.6 kB / 0.9674 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.9422, allocations: 85.08 kB / 0.9674 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.784e-05/0.9423, allocations: 52.22 kB / 0.9675 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.9425, allocations: 350.5 kB / 0.9678 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.9427, allocations: 80.19 kB / 0.9679 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.9429, allocations: 127.2 kB / 0.968 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.9433, allocations: 204.5 kB / 0.9682 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.9433, allocations: 4.031 kB / 0.9682 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005611/0.9439, allocations: 289.4 kB / 0.9685 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.9439, allocations: 5.219 kB / 0.9685 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.9439, allocations: 2.719 kB / 0.9685 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.944, allocations: 2.344 kB / 0.9685 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.9442, allocations: 51.25 kB / 0.9686 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.9442, allocations: 5.156 kB / 0.9686 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.9445, allocations: 36.55 kB / 0.9686 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.9445, allocations: 9.234 kB / 0.9686 GB, free: 11.93 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.9447, allocations: 161.4 kB / 0.9688 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/0.9448, allocations: 40.34 kB / 0.9688 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000637/0.9454, allocations: 293.3 kB / 0.9691 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.9455, allocations: 2.312 kB / 0.9691 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.9455, allocations: 5.125 kB / 0.9691 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.9455, allocations: 0 / 0.9691 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.9468, allocations: 0.8157 MB / 0.9699 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.9468, allocations: 1.344 kB / 0.9699 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.947, allocations: 45.84 kB / 0.9699 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.9471, allocations: 6.25 kB / 0.9699 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.9471, allocations: 7.031 kB / 0.9699 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.9471, allocations: 2.781 kB / 0.9699 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9471, allocations: 2.406 kB / 0.9699 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008096/0.9479, allocations: 0.5071 MB / 0.9704 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.9481, allocations: 150.5 kB / 0.9706 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.9482, allocations: 5.781 kB / 0.9706 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.9485, allocations: 17.81 kB / 0.9706 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.9485, allocations: 19.52 kB / 0.9706 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.9485, allocations: 12.09 kB / 0.9706 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000338/0.9489, allocations: 298.8 kB / 0.9709 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9489, allocations: 0 / 0.9709 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005344/0.9494, allocations: 118.2 kB / 0.971 GB, free: 10.92 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 (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.0005448/0.95, allocations: 194.4 kB / 0.9712 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005668/0.9506, allocations: 222.5 kB / 0.9714 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9506, allocations: 1.375 kB / 0.9714 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.9508, allocations: 115.3 kB / 0.9715 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.9519, allocations: 231.3 kB / 0.9718 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.9536, allocations: 0.9098 MB / 0.9727 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.954, allocations: 0.8316 MB / 0.9735 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003151/0.9544, allocations: 82.47 kB / 0.9735 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.9545, allocations: 32.22 kB / 0.9736 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.9545, allocations: 1.156 kB / 0.9736 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of Templates: time 0.01553/0.97, allocations: 8.041 MB / 0.9814 GB, free: 6.336 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.makefile (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)