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.0009533/0.0009533, allocations: 183.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4633/0.4633, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.515/1.515, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009735, allocations: 96.28 kB / 427.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.186, allocations: 72.31 MB / 0.5689 GB, free: 1.844 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.718/6.904, allocations: 1.864 GB / 2.433 GB, free: 175.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/6.904, allocations: 86.92 kB / 2.433 GB, free: 175.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.12/8.024, allocations: 360.5 MB / 2.785 GB, free: 98.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/8.024, allocations: 7.938 kB / 2.785 GB, free: 98.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.882e-05/8.024, allocations: 15.28 kB / 2.785 GB, free: 98.89 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.001708/8.026, allocations: 0.8398 MB / 2.786 GB, free: 98.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/8.026, allocations: 12.03 kB / 2.786 GB, free: 98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.375e-05/8.026, allocations: 66.53 kB / 2.786 GB, free: 97.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/8.027, allocations: 167.8 kB / 2.786 GB, free: 97.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006156/8.028, allocations: 390.5 kB / 2.786 GB, free: 97.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/8.028, allocations: 24.66 kB / 2.787 GB, free: 97.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/8.028, allocations: 28 kB / 2.787 GB, free: 97.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/8.028, allocations: 377.9 kB / 2.787 GB, free: 96.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/8.029, allocations: 3.938 kB / 2.787 GB, free: 96.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/8.029, allocations: 12 kB / 2.787 GB, free: 96.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/8.029, allocations: 8 kB / 2.787 GB, free: 96.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/8.029, allocations: 262 kB / 2.787 GB, free: 96.61 MB / 0.6042 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.001654/8.031, allocations: 1.764 MB / 2.789 GB, free: 94.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/8.031, allocations: 201.5 kB / 2.789 GB, free: 94.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008371/8.032, allocations: 0.874 MB / 2.79 GB, free: 93.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/8.032, allocations: 38.56 kB / 2.79 GB, free: 93.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 2.455e-06/8.032, allocations: 0 / 2.79 GB, free: 93.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0008369/8.033, allocations: 356.7 kB / 2.79 GB, free: 93.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/8.033, allocations: 63.36 kB / 2.79 GB, free: 92.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/8.033, allocations: 377.1 kB / 2.791 GB, free: 92.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/8.033, allocations: 29.7 kB / 2.791 GB, free: 92.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/8.033, allocations: 212.7 kB / 2.791 GB, free: 92.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/8.033, allocations: 74.83 kB / 2.791 GB, free: 92.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/8.033, allocations: 0 / 2.791 GB, free: 92.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.194e-05/8.033, allocations: 354.8 kB / 2.791 GB, free: 91.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/8.034, allocations: 84.41 kB / 2.791 GB, free: 91.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/8.034, allocations: 134.2 kB / 2.792 GB, free: 91.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/8.034, allocations: 104.4 kB / 2.792 GB, free: 91.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/8.034, allocations: 0 / 2.792 GB, free: 91.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004353/8.034, allocations: 283.8 kB / 2.792 GB, free: 91.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/8.035, allocations: 8.109 kB / 2.792 GB, free: 91.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/8.035, allocations: 7.969 kB / 2.792 GB, free: 91.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/8.035, allocations: 4 kB / 2.792 GB, free: 91.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/8.035, allocations: 47.97 kB / 2.792 GB, free: 91.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/8.035, allocations: 7.938 kB / 2.792 GB, free: 91.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/8.035, allocations: 51.52 kB / 2.792 GB, free: 91.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/8.035, allocations: 16 kB / 2.792 GB, free: 91.18 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001732/8.035, allocations: 157.8 kB / 2.792 GB, free: 91.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/8.035, allocations: 39.53 kB / 2.792 GB, free: 90.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005184/8.036, allocations: 295.3 kB / 2.793 GB, free: 90.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/8.036, allocations: 7.938 kB / 2.793 GB, free: 90.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/8.036, allocations: 0 / 2.793 GB, free: 90.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/8.036, allocations: 0 / 2.793 GB, free: 90.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/8.037, allocations: 0.8095 MB / 2.793 GB, free: 89.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/8.037, allocations: 4 kB / 2.793 GB, free: 89.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/8.037, allocations: 52.09 kB / 2.793 GB, free: 89.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/8.037, allocations: 8 kB / 2.793 GB, free: 89.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/8.037, allocations: 7.953 kB / 2.793 GB, free: 89.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/8.037, allocations: 0 / 2.793 GB, free: 89.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/8.037, allocations: 7.984 kB / 2.793 GB, free: 89.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006731/8.038, allocations: 0.5768 MB / 2.794 GB, free: 89.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/8.038, allocations: 136.6 kB / 2.794 GB, free: 88.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/8.038, allocations: 11.95 kB / 2.794 GB, free: 88.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/8.039, allocations: 31.97 kB / 2.794 GB, free: 88.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/8.039, allocations: 19.97 kB / 2.794 GB, free: 88.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/8.039, allocations: 8 kB / 2.794 GB, free: 88.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002571/8.039, allocations: 299.1 kB / 2.794 GB, free: 88.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/8.039, allocations: 0 / 2.794 GB, free: 88.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009741/8.04, allocations: 235.8 kB / 2.795 GB, free: 88.32 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 () * 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 (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.002709/8.043, allocations: 2.633 MB / 2.797 GB, free: 85.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004598/8.043, allocations: 215.6 kB / 2.797 GB, free: 85.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/8.043, allocations: 4.062 kB / 2.798 GB, free: 85.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/8.043, allocations: 115.8 kB / 2.798 GB, free: 85.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009559/8.044, allocations: 203.1 kB / 2.798 GB, free: 85.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/8.048, allocations: 2.975 MB / 2.801 GB, free: 82.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/8.048, allocations: 0.8314 MB / 2.802 GB, free: 81.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003508/8.048, allocations: 75.36 kB / 2.802 GB, free: 81.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/8.048, allocations: 135.4 kB / 2.802 GB, free: 80.94 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/8.048, allocations: 0 / 2.802 GB, free: 80.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06002/8.108, allocations: 29.83 MB / 2.831 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/8.109, allocations: 203.6 kB / 2.831 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.058/11.17, allocations: 0 / 2.831 GB, free: 51.09 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)