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.001337/0.001337, allocations: 101 kB / 16.27 MB, free: 5.961 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.001534/0.001534, allocations: 192 kB / 17.2 MB, free: 5.594 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.443/1.443, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.883/1.883, allocations: 292.3 MB / 0.5495 GB, free: 17.75 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.001448/0.001449, allocations: 75.38 kB / 0.6721 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2633, allocations: 114.5 MB / 0.784 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6311/0.8945, allocations: 173.8 MB / 0.9537 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.004117/0.8987, allocations: 2.287 MB / 0.956 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004891/0.8992, allocations: 11.94 kB / 0.956 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007838/0.9, allocations: 222.4 kB / 0.9562 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.9022, allocations: 0.9099 MB / 0.9571 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.9044, allocations: 0.8512 MB / 0.9579 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.9058, allocations: 0.9662 MB / 0.9588 GB, free: 7.527 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.9063, allocations: 331 kB / 0.9592 GB, free: 7.199 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000782/0.9071, allocations: 446.4 kB / 0.9596 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.9075, allocations: 316.1 kB / 0.9599 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.706e-05/0.9076, allocations: 36 kB / 0.9599 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.9095, allocations: 0.9859 MB / 0.9609 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.9097, allocations: 151.5 kB / 0.961 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.91, allocations: 234.9 kB / 0.9613 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.9114, allocations: 0.9076 MB / 0.9621 GB, free: 4.141 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9114, allocations: 0 / 0.9621 GB, free: 4.141 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9115, allocations: 0 / 0.9621 GB, free: 4.141 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.9115, allocations: 0 / 0.9621 GB, free: 4.141 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.001336/0.9128, allocations: 0.805 MB / 0.9629 GB, free: 3.285 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.9129, allocations: 8.031 kB / 0.9629 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.9141, allocations: 179.2 kB / 0.9631 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.9147, allocations: 381.4 kB / 0.9635 GB, free: 2.688 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.9148, allocations: 24.66 kB / 0.9635 GB, free: 2.664 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/0.9148, allocations: 28 kB / 0.9635 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006253/0.9155, allocations: 377.8 kB / 0.9639 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.9155, allocations: 0 / 0.9639 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.9156, allocations: 15.98 kB / 0.9639 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.9156, allocations: 8 kB / 0.9639 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.9161, allocations: 266 kB / 0.9642 GB, free: 1.957 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.001805/0.9179, allocations: 1.679 MB / 0.9658 GB, free: 148 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.9183, allocations: 203.3 kB / 0.966 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.9186, allocations: 116.8 kB / 0.9661 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.9197, allocations: 0.8715 MB / 0.967 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.9198, allocations: 34.56 kB / 0.967 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=23): time 1.863e-06/0.9198, allocations: 0 / 0.967 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23): time 0.0009729/0.9208, allocations: 365.6 kB / 0.9673 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.9208, allocations: 51.41 kB / 0.9674 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/0.9213, allocations: 425.9 kB / 0.9678 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.9213, allocations: 29.7 kB / 0.9678 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.9215, allocations: 212.3 kB / 0.968 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.9216, allocations: 82.75 kB / 0.9681 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.691e-05/0.9217, allocations: 49.7 kB / 0.9681 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.9218, allocations: 354.8 kB / 0.9685 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.922, allocations: 75.94 kB / 0.9686 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.9223, allocations: 124.5 kB / 0.9687 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.9227, allocations: 222.8 kB / 0.9689 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.9227, allocations: 112 / 0.9689 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005287/0.9232, allocations: 284.9 kB / 0.9692 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.9233, allocations: 7.031 kB / 0.9692 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.9233, allocations: 3.938 kB / 0.9692 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.9233, allocations: 8.031 kB / 0.9692 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.9235, allocations: 47.97 kB / 0.9692 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.9236, allocations: 1.188 kB / 0.9692 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.9238, allocations: 35.67 kB / 0.9693 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.9238, allocations: 12 kB / 0.9693 GB, free: 12.31 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.0001745/0.924, allocations: 157.7 kB / 0.9694 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.9241, allocations: 39.53 kB / 0.9695 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006106/0.9248, allocations: 300.7 kB / 0.9697 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.9248, allocations: 4 kB / 0.9698 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9248, allocations: 0 / 0.9698 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.9248, allocations: 0 / 0.9698 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.9261, allocations: 0.8082 MB / 0.9705 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.9261, allocations: 4 kB / 0.9705 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.9264, allocations: 43.97 kB / 0.9706 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.9264, allocations: 7.875 kB / 0.9706 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.9264, allocations: 8 kB / 0.9706 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.9264, allocations: 8.188 kB / 0.9706 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.9264, allocations: 7.984 kB / 0.9706 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008182/0.9273, allocations: 0.4987 MB / 0.9711 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.9274, allocations: 148.5 kB / 0.9712 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/0.9275, allocations: 10.44 kB / 0.9713 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.9278, allocations: 11.98 kB / 0.9713 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.9279, allocations: 21.47 kB / 0.9713 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.9279, allocations: 12 kB / 0.9713 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003588/0.9282, allocations: 303.1 kB / 0.9716 GB, free: 9.801 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9283, allocations: 0 / 0.9716 GB, free: 9.801 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004843/0.9287, allocations: 115.8 kB / 0.9717 GB, free: 9.688 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.0005022/0.9293, allocations: 196.8 kB / 0.9719 GB, free: 9.5 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005423/0.9298, allocations: 219.6 kB / 0.9721 GB, free: 9.285 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9298, allocations: 7.938 kB / 0.9721 GB, free: 9.277 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.93, allocations: 112.2 kB / 0.9722 GB, free: 9.168 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.9312, allocations: 225.4 kB / 0.9724 GB, free: 8.98 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.9329, allocations: 0.9375 MB / 0.9733 GB, free: 8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.9334, allocations: 0.8272 MB / 0.9741 GB, free: 7.148 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/0.9335, allocations: 35.44 kB / 0.9742 GB, free: 7.117 MB / 0.7637 GB Notification: Performance of SimCode: time 2.685e-06/0.9335, allocations: 0 / 0.9742 GB, free: 7.117 MB / 0.7637 GB Notification: Performance of Templates: time 0.01101/0.9445, allocations: 6.605 MB / 0.9806 GB, free: 0.6953 MB / 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)