Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 179.2 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4892/0.4892, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 101.2 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.215e-05, allocations: 4 kB / 0.4897 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3946, allocations: 72.3 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.391/4.786, allocations: 1.864 GB / 2.424 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/4.786, allocations: 84.64 kB / 2.424 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.053/5.839, allocations: 360.2 MB / 2.776 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.202e-06/5.839, allocations: 0 / 2.776 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.805e-05/5.839, allocations: 11.98 kB / 2.776 GB, free: 37.76 MB / 0.6042 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.001469/5.841, allocations: 0.7671 MB / 2.777 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/5.841, allocations: 19.92 kB / 2.777 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/5.841, allocations: 70.53 kB / 2.777 GB, free: 36.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/5.842, allocations: 175.9 kB / 2.777 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006589/5.843, allocations: 384.2 kB / 2.777 GB, free: 36.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/5.843, allocations: 20.78 kB / 2.777 GB, free: 36.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/5.843, allocations: 32 kB / 2.777 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/5.844, allocations: 351.6 kB / 2.778 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/5.844, allocations: 4 kB / 2.778 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/5.844, allocations: 8 kB / 2.778 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/5.844, allocations: 8 kB / 2.778 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/5.844, allocations: 222.1 kB / 2.778 GB, free: 35.59 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.001694/5.846, allocations: 1.781 MB / 2.78 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/5.846, allocations: 166.6 kB / 2.78 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/5.846, allocations: 92.84 kB / 2.78 GB, free: 33.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007669/5.847, allocations: 0.8701 MB / 2.781 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/5.847, allocations: 38.56 kB / 2.781 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 1.683e-06/5.847, allocations: 3.938 kB / 2.781 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0005816/5.848, allocations: 244.2 kB / 2.781 GB, free: 32.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/5.848, allocations: 51.41 kB / 2.781 GB, free: 32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/5.848, allocations: 363.2 kB / 2.782 GB, free: 31.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/5.848, allocations: 33.7 kB / 2.782 GB, free: 31.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/5.848, allocations: 216.4 kB / 2.782 GB, free: 31.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/5.848, allocations: 82.95 kB / 2.782 GB, free: 31.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/5.848, allocations: 7.938 kB / 2.782 GB, free: 31.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.265e-05/5.848, allocations: 354.8 kB / 2.782 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/5.848, allocations: 56.47 kB / 2.782 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/5.848, allocations: 115.9 kB / 2.782 GB, free: 30.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/5.849, allocations: 88.39 kB / 2.782 GB, free: 30.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/5.849, allocations: 0 / 2.782 GB, free: 30.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003334/5.849, allocations: 247.8 kB / 2.783 GB, free: 30.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/5.849, allocations: 4 kB / 2.783 GB, free: 30.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/5.849, allocations: 4 kB / 2.783 GB, free: 30.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/5.849, allocations: 4.094 kB / 2.783 GB, free: 30.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/5.849, allocations: 59.91 kB / 2.783 GB, free: 30.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/5.849, allocations: 4.031 kB / 2.783 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/5.85, allocations: 51.64 kB / 2.783 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/5.85, allocations: 8 kB / 2.783 GB, free: 30.29 MB / 0.6042 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 () * 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 6.5e-05/5.85, allocations: 116.9 kB / 2.783 GB, free: 30.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/5.85, allocations: 43.53 kB / 2.783 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/5.85, allocations: 253.2 kB / 2.783 GB, free: 29.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/5.85, allocations: 4 kB / 2.783 GB, free: 29.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/5.85, allocations: 7.953 kB / 2.783 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/5.85, allocations: 0 / 2.783 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009141/5.851, allocations: 0.7697 MB / 2.784 GB, free: 29.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/5.851, allocations: 0 / 2.784 GB, free: 29.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/5.851, allocations: 51.91 kB / 2.784 GB, free: 28.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/5.851, allocations: 4 kB / 2.784 GB, free: 28.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/5.851, allocations: 8 kB / 2.784 GB, free: 28.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/5.851, allocations: 7.984 kB / 2.784 GB, free: 28.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/5.851, allocations: 192 / 2.784 GB, free: 28.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/5.852, allocations: 0.5237 MB / 2.785 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/5.852, allocations: 144.6 kB / 2.785 GB, free: 28.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.031e-05/5.852, allocations: 8 kB / 2.785 GB, free: 28.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/5.852, allocations: 31.97 kB / 2.785 GB, free: 28.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/5.852, allocations: 15.92 kB / 2.785 GB, free: 28.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/5.853, allocations: 12 kB / 2.785 GB, free: 28.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002501/5.853, allocations: 293.2 kB / 2.785 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/5.853, allocations: 0 / 2.785 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007663/5.854, allocations: 239.7 kB / 2.785 GB, free: 27.61 MB / 0.6042 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 () * 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.002166/5.856, allocations: 2.568 MB / 2.788 GB, free: 24.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003008/5.856, allocations: 175.7 kB / 2.788 GB, free: 24.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/5.856, allocations: 0 / 2.788 GB, free: 24.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/5.856, allocations: 95.86 kB / 2.788 GB, free: 24.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000988/5.857, allocations: 215.6 kB / 2.788 GB, free: 24.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/5.859, allocations: 0.8119 MB / 2.789 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/5.859, allocations: 0.8353 MB / 2.79 GB, free: 22.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003136/5.859, allocations: 91.33 kB / 2.79 GB, free: 22.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/5.859, allocations: 131.4 kB / 2.79 GB, free: 22.52 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/5.859, allocations: 4 kB / 2.79 GB, free: 22.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3873/6.247, allocations: 33.05 MB / 2.822 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/6.247, allocations: 184.5 kB / 2.823 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/9.196, allocations: 0 / 2.823 GB, free: 127.2 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)