Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00626/0.00626, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001129/0.00113, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.448/1.448, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4719/0.4719, allocations: 95.47 MB / 365.4 MB, free: 12.17 MB / 318.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 72.38 kB / 0.5036 GB, free: 11.88 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3517, allocations: 69.09 MB / 0.5711 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.5611/0.9129, allocations: 193.2 MB / 0.7597 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002845/0.9158, allocations: 1.819 MB / 0.7615 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003728/0.9161, allocations: 14.5 kB / 0.7615 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007845/0.917, allocations: 315.8 kB / 0.7618 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.9185, allocations: 0.8122 MB / 0.7626 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.9218, allocations: 1.538 MB / 0.7641 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.9231, allocations: 1.357 MB / 0.7654 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004929/0.9236, allocations: 447.2 kB / 0.7659 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006463/0.9242, allocations: 0.5342 MB / 0.7664 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000481/0.9247, allocations: 469 kB / 0.7668 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.412e-05/0.9248, allocations: 60.75 kB / 0.7669 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.9277, allocations: 1.638 MB / 0.7685 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.928, allocations: 241.7 kB / 0.7687 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.9284, allocations: 377.9 kB / 0.7691 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002213/0.9306, allocations: 1.714 MB / 0.7708 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9306, allocations: 0 / 0.7708 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9306, allocations: 0.9062 kB / 0.7708 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.9306, allocations: 0 / 0.7708 GB, free: 1.547 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001887/0.9325, allocations: 1.126 MB / 0.7719 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.9326, allocations: 14.8 kB / 0.7719 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/0.9328, allocations: 82.03 kB / 0.7719 GB, free: 16.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/0.9335, allocations: 0.4998 MB / 0.7724 GB, free: 16.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.9335, allocations: 34.59 kB / 0.7725 GB, free: 16.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.162e-05/0.9336, allocations: 47.09 kB / 0.7725 GB, free: 16.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008319/0.9344, allocations: 0.5809 MB / 0.7731 GB, free: 16.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.9345, allocations: 0 / 0.7731 GB, free: 16.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/0.9345, allocations: 24 kB / 0.7731 GB, free: 16.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.9346, allocations: 21.19 kB / 0.7731 GB, free: 16.49 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000816/0.9354, allocations: 0.5298 MB / 0.7736 GB, free: 16.49 MB / 0.6075 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.002701/0.9381, allocations: 2.248 MB / 0.7758 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.9387, allocations: 344.2 kB / 0.7762 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.939, allocations: 167.2 kB / 0.7763 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.9402, allocations: 1.383 MB / 0.7777 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.9403, allocations: 40.81 kB / 0.7777 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.9403, allocations: 2.203 kB / 0.7777 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.001029/0.9413, allocations: 0.5221 MB / 0.7782 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.9413, allocations: 65.94 kB / 0.7783 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005735/0.9419, allocations: 0.6146 MB / 0.7789 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.942, allocations: 36.05 kB / 0.7789 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.9421, allocations: 288.1 kB / 0.7792 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.757e-05/0.9422, allocations: 124.1 kB / 0.7793 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.9423, allocations: 88.92 kB / 0.7794 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.9425, allocations: 367.2 kB / 0.7797 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.9428, allocations: 157 kB / 0.7799 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.9431, allocations: 226.5 kB / 0.7801 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005917/0.9437, allocations: 395 kB / 0.7805 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9437, allocations: 2.5 kB / 0.7805 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000821/0.9445, allocations: 0.5027 MB / 0.781 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.9445, allocations: 6.812 kB / 0.781 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.9445, allocations: 6.438 kB / 0.781 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.9446, allocations: 3.531 kB / 0.781 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.945, allocations: 93.88 kB / 0.7811 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.945, allocations: 6.156 kB / 0.7811 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.9454, allocations: 56.06 kB / 0.7811 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.9454, allocations: 19.84 kB / 0.7812 GB, free: 12.66 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (49): * Single equations (assignments): 49 * 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.0002044/0.9456, allocations: 188.5 kB / 0.7813 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.9458, allocations: 70.3 kB / 0.7814 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.9468, allocations: 0.6209 MB / 0.782 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.9468, allocations: 3.562 kB / 0.782 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9468, allocations: 3.438 kB / 0.782 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.9469, allocations: 2.531 kB / 0.782 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.9482, allocations: 1.167 MB / 0.7832 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.9483, allocations: 0 / 0.7832 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.9486, allocations: 70.44 kB / 0.7832 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.9486, allocations: 3.219 kB / 0.7832 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.9486, allocations: 10.94 kB / 0.7832 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.9486, allocations: 3.125 kB / 0.7833 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.9487, allocations: 1.203 kB / 0.7833 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.9499, allocations: 0.8667 MB / 0.7841 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.9502, allocations: 205 kB / 0.7843 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/0.9502, allocations: 6.766 kB / 0.7843 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.9507, allocations: 28.38 kB / 0.7843 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.9508, allocations: 26.41 kB / 0.7844 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.9508, allocations: 20.12 kB / 0.7844 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004826/0.9513, allocations: 497.5 kB / 0.7848 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9513, allocations: 0 / 0.7848 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009755/0.9523, allocations: 362.4 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008938/0.9532, allocations: 463.1 kB / 0.7856 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007143/0.9539, allocations: 417.3 kB / 0.786 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9539, allocations: 0 / 0.786 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.9543, allocations: 234.2 kB / 0.7863 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.9558, allocations: 363.3 kB / 0.7866 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.9577, allocations: 1.288 MB / 0.7879 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.9582, allocations: 0.9106 MB / 0.7887 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004403/0.9586, allocations: 137.9 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.9588, allocations: 57.2 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of SimCode: time 1.092e-06/0.9588, allocations: 0.6562 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of Templates: time 0.02623/0.985, allocations: 17.6 MB / 0.8061 GB, free: 5.996 MB / 0.6075 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)