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.008434/0.008434, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.002033/0.002033, allocations: 198.9 kB / 16.67 MB, free: 5.98 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.483/1.483, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5822/0.5822, allocations: 95.48 MB / 365.4 MB, free: 9.785 MB / 302.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.001528/0.001528, allocations: 90.05 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1406, allocations: 69.08 MB / 0.5711 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.5559/0.6966, allocations: 193.2 MB / 0.7597 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0048/0.7014, allocations: 1.813 MB / 0.7615 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007637/0.7022, allocations: 11.94 kB / 0.7615 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.7038, allocations: 310 kB / 0.7618 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003216/0.707, allocations: 0.816 MB / 0.7626 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005377/0.7124, allocations: 1.542 MB / 0.7641 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002247/0.7147, allocations: 1.36 MB / 0.7654 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006562/0.7153, allocations: 447.4 kB / 0.7659 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008545/0.7162, allocations: 0.5449 MB / 0.7664 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005785/0.7168, allocations: 473.7 kB / 0.7669 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.858e-05/0.7169, allocations: 60 kB / 0.7669 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/0.7201, allocations: 1.641 MB / 0.7685 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.7203, allocations: 247.3 kB / 0.7687 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.7207, allocations: 370.3 kB / 0.7691 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.7233, allocations: 1.713 MB / 0.7708 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7233, allocations: 0 / 0.7708 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7233, allocations: 0 / 0.7708 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.7233, allocations: 0 / 0.7708 GB, free: 1.887 MB / 0.5762 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.002062/0.7254, allocations: 1.126 MB / 0.7719 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.7254, allocations: 11.98 kB / 0.7719 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.7257, allocations: 87.09 kB / 0.772 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.7265, allocations: 0.5003 MB / 0.7725 GB, free: 72 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.7265, allocations: 33 kB / 0.7725 GB, free: 40 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.252e-05/0.7266, allocations: 48.05 kB / 0.7725 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009931/0.7276, allocations: 0.5739 MB / 0.7731 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.7277, allocations: 11.92 kB / 0.7731 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/0.7277, allocations: 20 kB / 0.7731 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.504e-05/0.7278, allocations: 19.92 kB / 0.7731 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009622/0.7287, allocations: 0.5309 MB / 0.7737 GB, free: 14.82 MB / 0.5919 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.003187/0.7319, allocations: 2.244 MB / 0.7759 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/0.7326, allocations: 334.4 kB / 0.7762 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.733, allocations: 168.5 kB / 0.7763 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001513/0.7345, allocations: 1.388 MB / 0.7777 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.7345, allocations: 42.5 kB / 0.7777 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 1.964e-06/0.7345, allocations: 0 / 0.7777 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.001158/0.7357, allocations: 0.5278 MB / 0.7782 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.7357, allocations: 59.27 kB / 0.7783 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006948/0.7364, allocations: 0.6164 MB / 0.7789 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.7365, allocations: 33.7 kB / 0.7789 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.7367, allocations: 280.1 kB / 0.7792 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.369e-05/0.7368, allocations: 130.1 kB / 0.7793 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.737, allocations: 86.03 kB / 0.7794 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.7371, allocations: 370.8 kB / 0.7798 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.7374, allocations: 156.8 kB / 0.7799 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.7378, allocations: 231.1 kB / 0.7801 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/0.7385, allocations: 392.6 kB / 0.7805 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7385, allocations: 4 kB / 0.7805 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009168/0.7394, allocations: 0.4998 MB / 0.781 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.7395, allocations: 11.94 kB / 0.781 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.7395, allocations: 0 / 0.781 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.7395, allocations: 4 kB / 0.781 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.7399, allocations: 99.81 kB / 0.7811 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.7399, allocations: 8.188 kB / 0.7811 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.7403, allocations: 48.25 kB / 0.7812 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.7404, allocations: 23.98 kB / 0.7812 GB, free: 6.516 MB / 0.5919 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.0002301/0.7406, allocations: 189.8 kB / 0.7814 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.7407, allocations: 67.27 kB / 0.7814 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.742, allocations: 0.6182 MB / 0.782 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.742, allocations: 8 kB / 0.782 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.742, allocations: 0 / 0.782 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.742, allocations: 0 / 0.782 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.7437, allocations: 1.164 MB / 0.7832 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.7438, allocations: 8 kB / 0.7832 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.7441, allocations: 67.89 kB / 0.7833 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.7441, allocations: 4 kB / 0.7833 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.7442, allocations: 8 kB / 0.7833 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.7442, allocations: 4 kB / 0.7833 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7442, allocations: 3.938 kB / 0.7833 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.7456, allocations: 0.8656 MB / 0.7841 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.7459, allocations: 200.2 kB / 0.7843 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.971e-05/0.7459, allocations: 11.91 kB / 0.7843 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.7464, allocations: 23.97 kB / 0.7843 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.7465, allocations: 23.97 kB / 0.7844 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.7465, allocations: 27.92 kB / 0.7844 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006152/0.7472, allocations: 495 kB / 0.7849 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7472, allocations: 0 / 0.7849 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001135/0.7483, allocations: 367.4 kB / 0.7852 GB, free: 2.254 MB / 0.5919 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.001031/0.7493, allocations: 474.5 kB / 0.7857 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007796/0.7501, allocations: 412.8 kB / 0.7861 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.7501, allocations: 4 kB / 0.7861 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.7505, allocations: 237.6 kB / 0.7863 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.7523, allocations: 352.8 kB / 0.7866 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.7545, allocations: 1.287 MB / 0.7879 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006833/0.7552, allocations: 0.9103 MB / 0.7888 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004262/0.7556, allocations: 137 kB / 0.7889 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.7558, allocations: 59.42 kB / 0.789 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.7558, allocations: 0 / 0.789 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of Templates: time 0.02953/0.7853, allocations: 17.83 MB / 0.8064 GB, free: 12.67 MB / 0.6231 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)