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.000788/0.000788, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005895/0.005895, allocations: 169.9 kB / 16.27 MB, free: 6.66 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.912/1.912, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.6338/0.6338, allocations: 95.63 MB / 366.4 MB, free: 10.23 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.0006044/0.0006045, allocations: 16 kB / 447.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3679, allocations: 70.33 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6421/1.01, allocations: 189.1 MB / 0.6903 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003875/1.014, allocations: 1.886 MB / 0.6921 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/1.015, allocations: 15.97 kB / 0.6921 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/1.016, allocations: 267.6 kB / 0.6924 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00258/1.019, allocations: 0.7756 MB / 0.6932 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004815/1.024, allocations: 1.401 MB / 0.6945 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002654/1.026, allocations: 1.878 MB / 0.6964 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008561/1.027, allocations: 380.9 kB / 0.6967 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/1.029, allocations: 476.5 kB / 0.6972 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009654/1.029, allocations: 476.1 kB / 0.6976 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/1.03, allocations: 27.59 kB / 0.6977 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004061/1.034, allocations: 1.86 MB / 0.6995 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003988/1.034, allocations: 212.8 kB / 0.6997 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005406/1.035, allocations: 363.8 kB / 0.7 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003734/1.038, allocations: 1.743 MB / 0.7017 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.038, allocations: 0 / 0.7017 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/1.039, allocations: 0 / 0.7017 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.482e-05/1.039, allocations: 0 / 0.7017 GB, free: 6.035 MB / 0.4981 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.002461/1.041, allocations: 1.002 MB / 0.7027 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.041, allocations: 11.89 kB / 0.7027 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/1.041, allocations: 85.8 kB / 0.7028 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/1.042, allocations: 498.9 kB / 0.7033 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/1.042, allocations: 34.34 kB / 0.7033 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.59e-05/1.042, allocations: 47.41 kB / 0.7034 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/1.043, allocations: 0.585 MB / 0.7039 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/1.043, allocations: 0 / 0.7039 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.859e-05/1.043, allocations: 23 kB / 0.7039 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/1.043, allocations: 17.81 kB / 0.704 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009103/1.044, allocations: 0.5458 MB / 0.7045 GB, free: 4.602 MB / 0.4981 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.003142/1.048, allocations: 2.242 MB / 0.7067 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/1.048, allocations: 351.5 kB / 0.707 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/1.049, allocations: 157.4 kB / 0.7072 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/1.05, allocations: 1.41 MB / 0.7085 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/1.05, allocations: 41.47 kB / 0.7086 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.665e-06/1.05, allocations: 0 / 0.7086 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001161/1.051, allocations: 0.5504 MB / 0.7091 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/1.051, allocations: 54.25 kB / 0.7092 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006898/1.052, allocations: 0.6147 MB / 0.7098 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/1.052, allocations: 31.8 kB / 0.7098 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/1.052, allocations: 287.5 kB / 0.7101 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/1.052, allocations: 126.1 kB / 0.7102 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-05/1.052, allocations: 37.02 kB / 0.7102 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001699/1.053, allocations: 376.2 kB / 0.7106 GB, free: 244 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/1.053, allocations: 161.6 kB / 0.7108 GB, free: 168 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/1.053, allocations: 237 kB / 0.711 GB, free: 12 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006871/1.054, allocations: 406.4 kB / 0.7114 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/1.054, allocations: 0 / 0.7114 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000905/1.055, allocations: 0.5113 MB / 0.7119 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/1.055, allocations: 9.344 kB / 0.7119 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.055, allocations: 2.906 kB / 0.7119 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.055, allocations: 2.875 kB / 0.7119 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/1.055, allocations: 97.78 kB / 0.712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/1.055, allocations: 6.75 kB / 0.712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/1.056, allocations: 72.36 kB / 0.712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/1.056, allocations: 24.33 kB / 0.7121 GB, free: 15.43 MB / 0.5137 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.0002608/1.056, allocations: 184.6 kB / 0.7122 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/1.056, allocations: 67.56 kB / 0.7123 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/1.058, allocations: 0.6333 MB / 0.7129 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.058, allocations: 13.02 kB / 0.7129 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.058, allocations: 0 / 0.7129 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.058, allocations: 0 / 0.7129 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/1.059, allocations: 1.18 MB / 0.7141 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/1.059, allocations: 2.969 kB / 0.7141 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/1.06, allocations: 72.61 kB / 0.7142 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/1.06, allocations: 2.469 kB / 0.7142 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/1.06, allocations: 10.78 kB / 0.7142 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.06, allocations: 2.688 kB / 0.7142 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.06, allocations: 2.906 kB / 0.7142 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/1.061, allocations: 0.8823 MB / 0.715 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/1.061, allocations: 220.5 kB / 0.7153 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/1.062, allocations: 10.84 kB / 0.7153 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/1.062, allocations: 38.91 kB / 0.7153 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/1.062, allocations: 25.78 kB / 0.7153 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/1.062, allocations: 21.7 kB / 0.7153 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000632/1.063, allocations: 0.4896 MB / 0.7158 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/1.063, allocations: 3.938 kB / 0.7158 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001279/1.064, allocations: 363 kB / 0.7162 GB, free: 12.86 MB / 0.5137 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.001462/1.066, allocations: 447.1 kB / 0.7166 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009324/1.067, allocations: 437.2 kB / 0.717 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.067, allocations: 0 / 0.717 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/1.067, allocations: 236.5 kB / 0.7172 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/1.069, allocations: 351.1 kB / 0.7176 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/1.072, allocations: 1.596 MB / 0.7191 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007023/1.072, allocations: 0.9028 MB / 0.72 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007255/1.073, allocations: 139.7 kB / 0.7202 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/1.073, allocations: 58.95 kB / 0.7202 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of SimCode: time 1.443e-06/1.073, allocations: 1.859 kB / 0.7202 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.03178/1.105, allocations: 16.81 MB / 0.7366 GB, free: 9.645 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: