Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9084/0.9084, allocations: 143.4 MB / 159.2 MB, free: 4.93 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001109, allocations: 180.5 kB / 191.9 MB, free: 5.742 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 447.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 111.3 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001864/0.001864, allocations: 286.6 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 87.86 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3855, allocations: 81.3 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.5591/0.9446, allocations: 171.5 MB / 0.9354 GB, free: 288 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00537/0.95, allocations: 2.321 MB / 0.9377 GB, free: 196 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008177/0.9509, allocations: 13.16 kB / 0.9377 GB, free: 196 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008988/0.9518, allocations: 194.2 kB / 0.9379 GB, free: 192 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.9542, allocations: 0.8462 MB / 0.9387 GB, free: 148 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.9564, allocations: 0.7681 MB / 0.9395 GB, free: 120 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001867/0.9582, allocations: 1.357 MB / 0.9408 GB, free: 108 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005762/0.9588, allocations: 284.5 kB / 0.9411 GB, free: 68 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.9599, allocations: 417.8 kB / 0.9415 GB, free: 64 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005237/0.9604, allocations: 329.4 kB / 0.9418 GB, free: 64 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.9605, allocations: 25.31 kB / 0.9418 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.9631, allocations: 1.165 MB / 0.9429 GB, free: 52 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.9634, allocations: 140.5 kB / 0.9431 GB, free: 48 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.9638, allocations: 226.8 kB / 0.9433 GB, free: 48 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.9657, allocations: 0.9581 MB / 0.9442 GB, free: 15.99 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.9657, allocations: 0 / 0.9442 GB, free: 15.99 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9657, allocations: 0 / 0.9442 GB, free: 15.99 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.9658, allocations: 0 / 0.9442 GB, free: 15.99 MB / 0.573 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.001566/0.9673, allocations: 0.8053 MB / 0.945 GB, free: 15.45 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.9674, allocations: 8.438 kB / 0.945 GB, free: 15.45 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.9686, allocations: 183.7 kB / 0.9452 GB, free: 15.42 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.9692, allocations: 367.8 kB / 0.9455 GB, free: 15.17 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.9692, allocations: 28.84 kB / 0.9456 GB, free: 15.16 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.9693, allocations: 36.83 kB / 0.9456 GB, free: 15.16 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/0.9699, allocations: 371.2 kB / 0.946 GB, free: 15.06 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.97, allocations: 2.953 kB / 0.946 GB, free: 15.06 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.97, allocations: 18.44 kB / 0.946 GB, free: 15.06 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.97, allocations: 10.47 kB / 0.946 GB, free: 15.06 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005041/0.9706, allocations: 255.6 kB / 0.9462 GB, free: 15.05 MB / 0.573 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.001867/0.9724, allocations: 1.678 MB / 0.9479 GB, free: 13.91 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.9728, allocations: 212.7 kB / 0.9481 GB, free: 13.88 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.973, allocations: 110.7 kB / 0.9482 GB, free: 13.88 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/0.9741, allocations: 0.8668 MB / 0.949 GB, free: 12.93 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.9742, allocations: 39.64 kB / 0.9491 GB, free: 12.89 MB / 0.573 GB Notification: Performance of pre-optimization done (n=23): time 2.314e-06/0.9742, allocations: 0 / 0.9491 GB, free: 12.89 MB / 0.573 GB Notification: Performance of matching and sorting (n=23): time 0.0009394/0.9751, allocations: 361 kB / 0.9494 GB, free: 12.83 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.9752, allocations: 61.2 kB / 0.9495 GB, free: 12.77 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.9757, allocations: 418.5 kB / 0.9499 GB, free: 12.65 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.9757, allocations: 33.86 kB / 0.9499 GB, free: 12.62 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.9759, allocations: 213.1 kB / 0.9501 GB, free: 12.52 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.84e-05/0.9759, allocations: 82.52 kB / 0.9502 GB, free: 12.46 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.813e-05/0.9761, allocations: 51.73 kB / 0.9502 GB, free: 12.45 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.9762, allocations: 351.3 kB / 0.9506 GB, free: 12.14 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.9764, allocations: 77.09 kB / 0.9506 GB, free: 12.13 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.9767, allocations: 125.5 kB / 0.9508 GB, free: 12.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.9771, allocations: 217.9 kB / 0.951 GB, free: 12.06 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9771, allocations: 0 / 0.951 GB, free: 12.06 MB / 0.573 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005285/0.9776, allocations: 281.2 kB / 0.9512 GB, free: 12 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.9777, allocations: 8.578 kB / 0.9512 GB, free: 12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.9777, allocations: 0.875 kB / 0.9512 GB, free: 12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.9777, allocations: 3.375 kB / 0.9512 GB, free: 12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.9779, allocations: 49.12 kB / 0.9513 GB, free: 12 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.9779, allocations: 2.219 kB / 0.9513 GB, free: 12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.9782, allocations: 42.11 kB / 0.9513 GB, free: 11.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.9783, allocations: 12.09 kB / 0.9514 GB, free: 11.98 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.9784, allocations: 167 kB / 0.9515 GB, free: 11.87 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/0.9785, allocations: 43.97 kB / 0.9516 GB, free: 11.85 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005606/0.9791, allocations: 283.1 kB / 0.9518 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.9791, allocations: 1.875 kB / 0.9518 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.9791, allocations: 4.797 kB / 0.9518 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.9791, allocations: 2.906 kB / 0.9518 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.9804, allocations: 0.8102 MB / 0.9526 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.9804, allocations: 2.688 kB / 0.9526 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.9806, allocations: 46.88 kB / 0.9527 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.9806, allocations: 6.875 kB / 0.9527 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.9806, allocations: 11.33 kB / 0.9527 GB, free: 11.42 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.9807, allocations: 8.297 kB / 0.9527 GB, free: 11.42 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9807, allocations: 2.625 kB / 0.9527 GB, free: 11.42 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009413/0.9901, allocations: 3.549 MB / 0.9562 GB, free: 9.945 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.9903, allocations: 149.3 kB / 0.9563 GB, free: 9.824 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.9904, allocations: 14.59 kB / 0.9563 GB, free: 9.816 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.9907, allocations: 23.89 kB / 0.9563 GB, free: 9.816 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.9907, allocations: 23.16 kB / 0.9564 GB, free: 9.812 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.9908, allocations: 10.81 kB / 0.9564 GB, free: 9.812 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003036/0.9911, allocations: 301.3 kB / 0.9567 GB, free: 9.727 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9911, allocations: 2.531 kB / 0.9567 GB, free: 9.727 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006671/0.9917, allocations: 177 kB / 0.9568 GB, free: 9.715 MB / 0.573 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 (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.0004145/0.9922, allocations: 198.6 kB / 0.957 GB, free: 9.598 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004574/0.9926, allocations: 206 kB / 0.9572 GB, free: 9.594 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.9927, allocations: 2.562 kB / 0.9572 GB, free: 9.594 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.9929, allocations: 116.1 kB / 0.9573 GB, free: 9.594 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.994, allocations: 225.3 kB / 0.9575 GB, free: 9.566 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.9957, allocations: 1.219 MB / 0.9587 GB, free: 8.801 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.9961, allocations: 0.8315 MB / 0.9595 GB, free: 8.098 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003502/0.9964, allocations: 88.59 kB / 0.9596 GB, free: 8.078 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.9966, allocations: 40.25 kB / 0.9597 GB, free: 8.066 MB / 0.573 GB Notification: Performance of SimCode: time 3e-07/0.9966, allocations: 0 / 0.9597 GB, free: 8.066 MB / 0.573 GB Notification: Performance of Templates: time 0.01569/1.012, allocations: 8.958 MB / 0.9684 GB, free: 4.883 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)