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.001151/0.001151, allocations: 104.5 kB / 16.35 MB, free: 5.879 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.001027/0.001027, allocations: 195.1 kB / 17.29 MB, free: 5.516 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.261/1.261, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.813/1.813, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001467/0.001467, allocations: 71.89 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1959, allocations: 114.5 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.4831/0.6791, allocations: 173.8 MB / 0.9545 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.003692/0.6828, allocations: 2.282 MB / 0.9567 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.6831, allocations: 15.94 kB / 0.9567 GB, free: 10 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006655/0.6839, allocations: 238.3 kB / 0.9569 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.6857, allocations: 0.9022 MB / 0.9578 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.6877, allocations: 0.849 MB / 0.9587 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.6887, allocations: 0.9663 MB / 0.9596 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004524/0.6892, allocations: 326.8 kB / 0.9599 GB, free: 6.719 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005879/0.6898, allocations: 466.3 kB / 0.9604 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.6902, allocations: 310.7 kB / 0.9607 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.6902, allocations: 36 kB / 0.9607 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.6917, allocations: 0.9937 MB / 0.9617 GB, free: 4.926 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.6919, allocations: 143.6 kB / 0.9618 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.6921, allocations: 238.8 kB / 0.962 GB, free: 4.551 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.6932, allocations: 0.9077 MB / 0.9629 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6932, allocations: 1.406 kB / 0.9629 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.344e-06/0.6932, allocations: 4 kB / 0.9629 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.6932, allocations: 3.938 kB / 0.9629 GB, free: 3.633 MB / 0.7481 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.001154/0.6944, allocations: 0.8011 MB / 0.9637 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.6944, allocations: 11.97 kB / 0.9637 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.6957, allocations: 183.2 kB / 0.9639 GB, free: 2.594 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.6962, allocations: 377.4 kB / 0.9642 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.6962, allocations: 24.66 kB / 0.9643 GB, free: 2.16 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.6963, allocations: 28 kB / 0.9643 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.6969, allocations: 373.1 kB / 0.9647 GB, free: 1.742 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.6969, allocations: 0 / 0.9647 GB, free: 1.742 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.697, allocations: 16 kB / 0.9647 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.697, allocations: 8 kB / 0.9647 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005111/0.6975, allocations: 265.9 kB / 0.9649 GB, free: 1.457 MB / 0.7481 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.001712/0.6992, allocations: 1.664 MB / 0.9666 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.6996, allocations: 215.6 kB / 0.9668 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.6998, allocations: 112.8 kB / 0.9669 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009894/0.7008, allocations: 0.8701 MB / 0.9677 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.7009, allocations: 38.56 kB / 0.9678 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.7009, allocations: 0 / 0.9678 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23): time 0.0008726/0.7018, allocations: 365.6 kB / 0.9681 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.7018, allocations: 51.41 kB / 0.9682 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.7022, allocations: 422 kB / 0.9686 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.7023, allocations: 29.7 kB / 0.9686 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.7024, allocations: 216.3 kB / 0.9688 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.7025, allocations: 82.75 kB / 0.9689 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/0.7026, allocations: 49.7 kB / 0.9689 GB, free: 13 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7027, allocations: 360.5 kB / 0.9693 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.7029, allocations: 75.94 kB / 0.9693 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.7031, allocations: 120.5 kB / 0.9694 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.7035, allocations: 214.9 kB / 0.9697 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7035, allocations: 3.938 kB / 0.9697 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005046/0.704, allocations: 281 kB / 0.9699 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.7041, allocations: 8.781 kB / 0.9699 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7041, allocations: 1.188 kB / 0.9699 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7041, allocations: 8.031 kB / 0.9699 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.7043, allocations: 47.92 kB / 0.97 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.7044, allocations: 3.984 kB / 0.97 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.7046, allocations: 31.69 kB / 0.97 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.7046, allocations: 15.94 kB / 0.97 GB, free: 11.82 MB / 0.7637 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.0001483/0.7048, allocations: 157.8 kB / 0.9702 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.7049, allocations: 39.53 kB / 0.9702 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000576/0.7054, allocations: 300.3 kB / 0.9705 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.7054, allocations: 4 kB / 0.9705 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7055, allocations: 0 / 0.9705 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7055, allocations: 0 / 0.9705 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.7066, allocations: 0.8101 MB / 0.9713 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7066, allocations: 4 kB / 0.9713 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.7069, allocations: 47.91 kB / 0.9714 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.7069, allocations: 0 / 0.9714 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.7069, allocations: 8 kB / 0.9714 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-06/0.7069, allocations: 9.562 kB / 0.9714 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7069, allocations: 4.188 kB / 0.9714 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000731/0.7077, allocations: 0.5142 MB / 0.9719 GB, free: 9.812 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.7078, allocations: 144.6 kB / 0.972 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.7079, allocations: 8 kB / 0.972 GB, free: 9.645 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.7082, allocations: 11.98 kB / 0.972 GB, free: 9.633 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.7082, allocations: 15.98 kB / 0.9721 GB, free: 9.617 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.7083, allocations: 8.188 kB / 0.9721 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002938/0.7086, allocations: 307.1 kB / 0.9724 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7086, allocations: 0 / 0.9724 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004232/0.709, allocations: 123.8 kB / 0.9725 GB, free: 9.188 MB / 0.7637 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.0004051/0.7094, allocations: 194.1 kB / 0.9727 GB, free: 9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.7099, allocations: 215.6 kB / 0.9729 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7099, allocations: 0 / 0.9729 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.7102, allocations: 111.8 kB / 0.973 GB, free: 8.68 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.7112, allocations: 224 kB / 0.9732 GB, free: 8.492 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.7127, allocations: 0.8978 MB / 0.9741 GB, free: 7.555 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.7131, allocations: 0.82 MB / 0.9749 GB, free: 6.711 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002685/0.7134, allocations: 90.53 kB / 0.9749 GB, free: 6.625 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/0.7135, allocations: 35.44 kB / 0.975 GB, free: 6.594 MB / 0.7637 GB Notification: Performance of SimCode: time 2.31e-07/0.7135, allocations: 0 / 0.975 GB, free: 6.594 MB / 0.7637 GB Notification: Performance of Templates: time 0.01267/0.7261, allocations: 8.031 MB / 0.9828 GB, free: 14.76 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)