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.0009462/0.0009462, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.0009187/0.0009188, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.638/1.638, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005134/0.0005134, allocations: 15.19 kB / 0.6735 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2418, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.5771/0.8189, allocations: 145.2 MB / 0.9289 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003579/0.8226, allocations: 2.308 MB / 0.9311 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005477/0.8231, allocations: 11 kB / 0.9311 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008211/0.824, allocations: 232.2 kB / 0.9314 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.8261, allocations: 0.7519 MB / 0.9321 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.8278, allocations: 0.5612 MB / 0.9327 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.8288, allocations: 0.5836 MB / 0.9332 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.8293, allocations: 265.8 kB / 0.9335 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.8303, allocations: 464.9 kB / 0.9339 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.8306, allocations: 215.2 kB / 0.9341 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/0.8307, allocations: 17.88 kB / 0.9341 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.832, allocations: 0.4914 MB / 0.9346 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.8321, allocations: 120.7 kB / 0.9347 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.735e-05/0.8322, allocations: 111.4 kB / 0.9348 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007785/0.833, allocations: 0.5164 MB / 0.9353 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.833, allocations: 1.75 kB / 0.9353 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.833, allocations: 0 / 0.9353 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.8331, allocations: 1.094 kB / 0.9353 GB, free: 5.555 MB / 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.001618/0.8347, allocations: 0.72 MB / 0.9361 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.8347, allocations: 8.781 kB / 0.9361 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.8361, allocations: 181.9 kB / 0.9362 GB, free: 21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006397/0.8368, allocations: 366 kB / 0.9366 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.962e-05/0.8368, allocations: 23.09 kB / 0.9366 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.8369, allocations: 33.19 kB / 0.9366 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006874/0.8376, allocations: 374.6 kB / 0.937 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.8376, allocations: 0.6875 kB / 0.937 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.8376, allocations: 17.89 kB / 0.937 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/0.8377, allocations: 10.7 kB / 0.937 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005601/0.8382, allocations: 267.2 kB / 0.9373 GB, free: 20.65 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.001935/0.8402, allocations: 1.672 MB / 0.9389 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.8406, allocations: 219.8 kB / 0.9391 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008131/0.8414, allocations: 0.7066 MB / 0.9398 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.8415, allocations: 36.47 kB / 0.9398 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 2.514e-06/0.8415, allocations: 1.859 kB / 0.9398 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0009553/0.8425, allocations: 375 kB / 0.9402 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.8425, allocations: 60.75 kB / 0.9403 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.843, allocations: 420.6 kB / 0.9407 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.8431, allocations: 31.11 kB / 0.9407 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.8432, allocations: 214 kB / 0.9409 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.8433, allocations: 81.45 kB / 0.941 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.8433, allocations: 4.312 kB / 0.941 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.8434, allocations: 352.1 kB / 0.9413 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.8437, allocations: 85.19 kB / 0.9414 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.8439, allocations: 128.2 kB / 0.9415 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.8442, allocations: 108.2 kB / 0.9416 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8442, allocations: 0.5312 kB / 0.9416 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006849/0.8449, allocations: 283.4 kB / 0.9419 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.8449, allocations: 5.438 kB / 0.9419 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.8449, allocations: 1.797 kB / 0.9419 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.845, allocations: 6.188 kB / 0.9419 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.8452, allocations: 54.5 kB / 0.942 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.8453, allocations: 4.812 kB / 0.942 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.8456, allocations: 45.16 kB / 0.942 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.8456, allocations: 11.66 kB / 0.942 GB, free: 17.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001946/0.8458, allocations: 167.6 kB / 0.9422 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.252e-05/0.8459, allocations: 43.19 kB / 0.9422 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006909/0.8466, allocations: 293.1 kB / 0.9425 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.8466, allocations: 7.781 kB / 0.9425 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.8466, allocations: 0 / 0.9425 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.8466, allocations: 4.859 kB / 0.9425 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.848, allocations: 0.8168 MB / 0.9433 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.848, allocations: 2.344 kB / 0.9433 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.8482, allocations: 51.5 kB / 0.9434 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.8482, allocations: 2.938 kB / 0.9434 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.8483, allocations: 16.22 kB / 0.9434 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.8483, allocations: 2.25 kB / 0.9434 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.8483, allocations: 2.062 kB / 0.9434 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.849, allocations: 0.5923 MB / 0.944 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.8492, allocations: 144 kB / 0.9441 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.8493, allocations: 8.156 kB / 0.9441 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.8496, allocations: 29.95 kB / 0.9441 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.8496, allocations: 21.8 kB / 0.9442 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.8497, allocations: 10.5 kB / 0.9442 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002981/0.85, allocations: 297.8 kB / 0.9444 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.85, allocations: 0 / 0.9444 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00051/0.8505, allocations: 120.2 kB / 0.9446 GB, free: 16.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004055/0.8509, allocations: 195 kB / 0.9447 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004902/0.8514, allocations: 218.1 kB / 0.945 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8514, allocations: 1.406 kB / 0.945 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.8516, allocations: 120 kB / 0.9451 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.8528, allocations: 220.3 kB / 0.9453 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.8543, allocations: 1.079 MB / 0.9463 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.8547, allocations: 0.8382 MB / 0.9472 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003315/0.8551, allocations: 84.8 kB / 0.9472 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.506e-05/0.8552, allocations: 33.36 kB / 0.9473 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of SimCode: time 1.723e-06/0.8552, allocations: 0 / 0.9473 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.01445/0.8696, allocations: 7.407 MB / 0.9545 GB, free: 14.79 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: