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.001378/0.001377, allocations: 112.2 kB / 16.37 MB, free: 6 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.001146/0.001146, allocations: 191.9 kB / 17.31 MB, free: 5.617 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.362/1.362, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.733/1.733, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001379/0.001379, allocations: 68.33 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2278, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.5582/0.7861, allocations: 173.8 MB / 0.9545 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.004114/0.7902, allocations: 2.285 MB / 0.9567 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005421/0.7908, allocations: 15.88 kB / 0.9567 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008207/0.7917, allocations: 235.8 kB / 0.957 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.794, allocations: 0.9138 MB / 0.9579 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.7964, allocations: 0.8455 MB / 0.9587 GB, free: 8.031 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001621/0.798, allocations: 0.9591 MB / 0.9596 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007321/0.7988, allocations: 338.7 kB / 0.9599 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.7999, allocations: 450.3 kB / 0.9604 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000598/0.8005, allocations: 314.7 kB / 0.9607 GB, free: 5.984 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.172e-05/0.8006, allocations: 36 kB / 0.9607 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.8029, allocations: 0.9898 MB / 0.9617 GB, free: 4.957 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.8031, allocations: 159.5 kB / 0.9618 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.8034, allocations: 230.9 kB / 0.962 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.8049, allocations: 0.9076 MB / 0.9629 GB, free: 3.664 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8049, allocations: 0 / 0.9629 GB, free: 3.664 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8049, allocations: 0 / 0.9629 GB, free: 3.664 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.8049, allocations: 0 / 0.9629 GB, free: 3.664 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.001347/0.8063, allocations: 0.8146 MB / 0.9637 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.8063, allocations: 12.03 kB / 0.9637 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.8076, allocations: 183.2 kB / 0.9639 GB, free: 2.613 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006673/0.8083, allocations: 381.4 kB / 0.9643 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.8083, allocations: 21.41 kB / 0.9643 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.8084, allocations: 36 kB / 0.9643 GB, free: 2.145 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.809, allocations: 373.1 kB / 0.9647 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.8091, allocations: 0 / 0.9647 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.8091, allocations: 12 kB / 0.9647 GB, free: 1.742 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.8092, allocations: 20 kB / 0.9647 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.8097, allocations: 261.9 kB / 0.965 GB, free: 1.465 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.001967/0.8117, allocations: 1.677 MB / 0.9666 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.8121, allocations: 199.2 kB / 0.9668 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.8123, allocations: 112.8 kB / 0.9669 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/0.8134, allocations: 0.8741 MB / 0.9678 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.8135, allocations: 34.5 kB / 0.9678 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=23): time 1.824e-06/0.8135, allocations: 0 / 0.9678 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23): time 0.0009173/0.8144, allocations: 369.6 kB / 0.9681 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.8144, allocations: 55.41 kB / 0.9682 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.8149, allocations: 421.9 kB / 0.9686 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.8149, allocations: 30.73 kB / 0.9686 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.8151, allocations: 212.3 kB / 0.9688 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.8152, allocations: 78.77 kB / 0.9689 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.104e-05/0.8153, allocations: 57.7 kB / 0.969 GB, free: 13 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.8155, allocations: 354.7 kB / 0.9693 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.8158, allocations: 79.95 kB / 0.9694 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.816, allocations: 116.5 kB / 0.9695 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.8164, allocations: 215.2 kB / 0.9697 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8164, allocations: 0 / 0.9697 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005325/0.817, allocations: 284.5 kB / 0.97 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.817, allocations: 4 kB / 0.97 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.817, allocations: 5.031 kB / 0.97 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.817, allocations: 4.031 kB / 0.97 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.8173, allocations: 55.91 kB / 0.97 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.8173, allocations: 4 kB / 0.97 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.8175, allocations: 34.3 kB / 0.9701 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.8176, allocations: 11.94 kB / 0.9701 GB, free: 11.83 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.0001761/0.8178, allocations: 157.8 kB / 0.9702 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.8178, allocations: 39.53 kB / 0.9703 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006027/0.8184, allocations: 294.2 kB / 0.9705 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.8185, allocations: 4 kB / 0.9705 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.8185, allocations: 0 / 0.9705 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.8185, allocations: 5.578 kB / 0.9705 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.8197, allocations: 0.8074 MB / 0.9713 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.8198, allocations: 0 / 0.9713 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.82, allocations: 51.86 kB / 0.9714 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.82, allocations: 4 kB / 0.9714 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.82, allocations: 5 kB / 0.9714 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.8201, allocations: 3.984 kB / 0.9714 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8201, allocations: 4.188 kB / 0.9714 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008522/0.8209, allocations: 0.5064 MB / 0.9719 GB, free: 9.832 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.8211, allocations: 152.5 kB / 0.972 GB, free: 9.664 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.8211, allocations: 4 kB / 0.972 GB, free: 9.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.8214, allocations: 15.98 kB / 0.9721 GB, free: 9.645 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.8215, allocations: 25.22 kB / 0.9721 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.8215, allocations: 4 kB / 0.9721 GB, free: 9.617 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003227/0.8218, allocations: 303.1 kB / 0.9724 GB, free: 9.32 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8218, allocations: 4 kB / 0.9724 GB, free: 9.316 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004611/0.8223, allocations: 115.8 kB / 0.9725 GB, free: 9.203 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.0004489/0.8228, allocations: 201.8 kB / 0.9727 GB, free: 9.008 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005382/0.8233, allocations: 213.6 kB / 0.9729 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.8233, allocations: 4 kB / 0.9729 GB, free: 8.797 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.8236, allocations: 113.5 kB / 0.973 GB, free: 8.688 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.8247, allocations: 221.3 kB / 0.9732 GB, free: 8.5 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.8264, allocations: 0.9284 MB / 0.9741 GB, free: 7.527 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.8268, allocations: 0.8285 MB / 0.9749 GB, free: 6.676 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.797e-05/0.8269, allocations: 35.44 kB / 0.975 GB, free: 6.645 MB / 0.7637 GB Notification: Performance of SimCode: time 2.71e-07/0.8269, allocations: 0 / 0.975 GB, free: 6.645 MB / 0.7637 GB Notification: Performance of Templates: time 0.01058/0.8375, allocations: 6.591 MB / 0.9814 GB, free: 236 kB / 0.7637 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 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)