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.001181/0.001181, 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.001323/0.001323, allocations: 191.8 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.625/1.625, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.6365/0.6365, allocations: 95.48 MB / 365.2 MB, free: 9.934 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.001774/0.001774, allocations: 67.91 kB / 445.3 MB, free: 9.66 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3452, allocations: 69.08 MB / 0.5024 GB, free: 17.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.5649/0.9101, allocations: 193.2 MB / 0.691 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003695/0.9138, allocations: 1.799 MB / 0.6928 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006579/0.9145, allocations: 17.72 kB / 0.6928 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.9159, allocations: 311.5 kB / 0.6931 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.9187, allocations: 0.8097 MB / 0.6939 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006146/0.9248, allocations: 1.548 MB / 0.6954 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002612/0.9275, allocations: 1.364 MB / 0.6967 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009455/0.9284, allocations: 442.4 kB / 0.6972 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.9296, allocations: 0.5368 MB / 0.6977 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000572/0.9302, allocations: 471.8 kB / 0.6981 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.9303, allocations: 60.91 kB / 0.6982 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004033/0.9343, allocations: 1.638 MB / 0.6998 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.9347, allocations: 236 kB / 0.7 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005211/0.9352, allocations: 384.3 kB / 0.7004 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004026/0.9392, allocations: 1.694 MB / 0.702 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9393, allocations: 0 / 0.702 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9393, allocations: 2.125 kB / 0.702 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.9393, allocations: 0 / 0.702 GB, free: 6.918 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.002467/0.9418, allocations: 1.119 MB / 0.7031 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.9418, allocations: 12.11 kB / 0.7031 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003568/0.9422, allocations: 89.98 kB / 0.7032 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007615/0.943, allocations: 492.5 kB / 0.7037 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.943, allocations: 39.59 kB / 0.7037 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.051e-05/0.9431, allocations: 46.78 kB / 0.7038 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.9441, allocations: 0.578 MB / 0.7043 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.9441, allocations: 1.812 kB / 0.7043 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.877e-05/0.9442, allocations: 25.67 kB / 0.7044 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/0.9443, allocations: 20.38 kB / 0.7044 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00092/0.9452, allocations: 0.5308 MB / 0.7049 GB, free: 5.137 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.003583/0.9488, allocations: 2.244 MB / 0.7071 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/0.9496, allocations: 342.6 kB / 0.7074 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.9499, allocations: 172.7 kB / 0.7076 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/0.9516, allocations: 1.381 MB / 0.7089 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.9516, allocations: 48.05 kB / 0.709 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.675e-06/0.9516, allocations: 0 / 0.709 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001356/0.953, allocations: 0.5249 MB / 0.7095 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.9531, allocations: 55.97 kB / 0.7096 GB, free: 1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000795/0.9539, allocations: 0.6154 MB / 0.7102 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.9539, allocations: 29.7 kB / 0.7102 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.9542, allocations: 296.6 kB / 0.7105 GB, free: 356 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.9543, allocations: 124.3 kB / 0.7106 GB, free: 248 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.9544, allocations: 78.69 kB / 0.7107 GB, free: 196 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.9546, allocations: 370 kB / 0.711 GB, free: 15.84 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.955, allocations: 157.1 kB / 0.7112 GB, free: 15.76 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.9553, allocations: 228.9 kB / 0.7114 GB, free: 15.61 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006737/0.956, allocations: 402.8 kB / 0.7118 GB, free: 15.36 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.956, allocations: 0 / 0.7118 GB, free: 15.36 MB / 0.5138 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008991/0.9569, allocations: 0.49 MB / 0.7122 GB, free: 15.11 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.9569, allocations: 11.56 kB / 0.7123 GB, free: 15.11 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.957, allocations: 4 kB / 0.7123 GB, free: 15.11 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.957, allocations: 5.219 kB / 0.7123 GB, free: 15.11 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.9574, allocations: 94.02 kB / 0.7123 GB, free: 15.08 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.9574, allocations: 2.562 kB / 0.7124 GB, free: 15.08 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.9578, allocations: 54.61 kB / 0.7124 GB, free: 15.04 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.9579, allocations: 22.95 kB / 0.7124 GB, free: 15.04 MB / 0.5138 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.0002414/0.9581, allocations: 186.1 kB / 0.7126 GB, free: 14.88 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.9583, allocations: 65.78 kB / 0.7127 GB, free: 14.84 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.9594, allocations: 0.6313 MB / 0.7133 GB, free: 14.47 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.9594, allocations: 6.703 kB / 0.7133 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9595, allocations: 0 / 0.7133 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.9595, allocations: 0 / 0.7133 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.9611, allocations: 1.181 MB / 0.7144 GB, free: 13.63 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.9611, allocations: 3.938 kB / 0.7144 GB, free: 13.63 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.9614, allocations: 66.45 kB / 0.7145 GB, free: 13.61 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.9614, allocations: 2.688 kB / 0.7145 GB, free: 13.61 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.9614, allocations: 12.72 kB / 0.7145 GB, free: 13.61 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.9614, allocations: 2.062 kB / 0.7145 GB, free: 13.61 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9615, allocations: 0 / 0.7145 GB, free: 13.61 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.9627, allocations: 0.8605 MB / 0.7154 GB, free: 13.09 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.963, allocations: 205.7 kB / 0.7156 GB, free: 12.91 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-05/0.9631, allocations: 13.19 kB / 0.7156 GB, free: 12.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.9635, allocations: 15.48 kB / 0.7156 GB, free: 12.89 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.9636, allocations: 36.08 kB / 0.7156 GB, free: 12.87 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.9637, allocations: 23.36 kB / 0.7156 GB, free: 12.86 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0005687/0.9642, allocations: 499.9 kB / 0.7161 GB, free: 12.51 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9643, allocations: 0 / 0.7161 GB, free: 12.51 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.001049/0.9653, allocations: 359.5 kB / 0.7165 GB, free: 12.16 MB / 0.5138 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.0009917/0.9663, allocations: 461.2 kB / 0.7169 GB, free: 11.73 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0009075/0.9672, allocations: 453.6 kB / 0.7173 GB, free: 11.29 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9672, allocations: 0 / 0.7173 GB, free: 11.29 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.9676, allocations: 233.7 kB / 0.7176 GB, free: 11.06 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.9693, allocations: 369.7 kB / 0.7179 GB, free: 10.71 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.9715, allocations: 1.305 MB / 0.7192 GB, free: 9.371 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.972, allocations: 0.9103 MB / 0.7201 GB, free: 8.434 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0005062/0.9725, allocations: 137 kB / 0.7202 GB, free: 8.301 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.9727, allocations: 59.42 kB / 0.7203 GB, free: 8.242 MB / 0.5138 GB Notification: Performance of SimCode: time 8.41e-07/0.9727, allocations: 0 / 0.7203 GB, free: 8.242 MB / 0.5138 GB Notification: Performance of Templates: time 0.03103/1.004, allocations: 17.51 MB / 0.7374 GB, free: 6.887 MB / 0.5294 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)