Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8412/0.8412, allocations: 143.3 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 185 kB / 191.5 MB, free: 5.773 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 223.2 MB / 447.7 MB, free: 4.887 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009834/0.0009833, allocations: 96.27 kB / 0.5187 GB, free: 1.242 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00187/0.00187, allocations: 272.5 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004659, allocations: 16.75 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2141, allocations: 82.79 MB / 0.7738 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.933/5.147, allocations: 1.871 GB / 2.644 GB, free: 157.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/5.147, allocations: 92.91 kB / 2.644 GB, free: 157.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.078/6.225, allocations: 360.4 MB / 2.996 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.866e-06/6.226, allocations: 3.984 kB / 2.996 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.39e-05/6.226, allocations: 16 kB / 2.996 GB, free: 101.5 MB / 0.7136 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.00165/6.227, allocations: 0.846 MB / 2.997 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/6.227, allocations: 8.031 kB / 2.997 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.442e-05/6.227, allocations: 66.53 kB / 2.997 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/6.229, allocations: 171.2 kB / 2.997 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/6.229, allocations: 387 kB / 2.998 GB, free: 99.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/6.229, allocations: 25.28 kB / 2.998 GB, free: 99.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/6.229, allocations: 47.84 kB / 2.998 GB, free: 99.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/6.23, allocations: 369.9 kB / 2.998 GB, free: 99.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/6.23, allocations: 4 kB / 2.998 GB, free: 99.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/6.23, allocations: 15.98 kB / 2.998 GB, free: 99.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/6.23, allocations: 8 kB / 2.998 GB, free: 99.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000444/6.23, allocations: 258 kB / 2.999 GB, free: 99.23 MB / 0.7136 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.00164/6.232, allocations: 1.777 MB / 3 GB, free: 97.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/6.232, allocations: 186.5 kB / 3 GB, free: 97.13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007916/6.233, allocations: 0.8662 MB / 3.001 GB, free: 96.08 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/6.233, allocations: 38.56 kB / 3.001 GB, free: 96.03 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 2.324e-06/6.233, allocations: 0 / 3.001 GB, free: 96.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0007865/6.234, allocations: 352.5 kB / 3.002 GB, free: 95.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/6.234, allocations: 60.2 kB / 3.002 GB, free: 95.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/6.234, allocations: 369.1 kB / 3.002 GB, free: 95.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/6.234, allocations: 33.7 kB / 3.002 GB, free: 95.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/6.235, allocations: 212.6 kB / 3.002 GB, free: 95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/6.235, allocations: 82.89 kB / 3.002 GB, free: 94.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/6.235, allocations: 8 kB / 3.002 GB, free: 94.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.368e-05/6.235, allocations: 346.8 kB / 3.003 GB, free: 94.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/6.235, allocations: 76.42 kB / 3.003 GB, free: 94.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/6.235, allocations: 141.2 kB / 3.003 GB, free: 94.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/6.235, allocations: 102.1 kB / 3.003 GB, free: 94.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/6.235, allocations: 0 / 3.003 GB, free: 94.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004287/6.236, allocations: 293.4 kB / 3.003 GB, free: 93.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/6.236, allocations: 4 kB / 3.003 GB, free: 93.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/6.236, allocations: 112 / 3.003 GB, free: 93.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/6.236, allocations: 7.938 kB / 3.003 GB, free: 93.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/6.236, allocations: 55.91 kB / 3.003 GB, free: 93.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/6.236, allocations: 4.031 kB / 3.003 GB, free: 93.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/6.236, allocations: 43.67 kB / 3.003 GB, free: 93.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/6.236, allocations: 16 kB / 3.003 GB, free: 93.81 MB / 0.7136 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.0001475/6.236, allocations: 177.6 kB / 3.004 GB, free: 93.63 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/6.237, allocations: 39.53 kB / 3.004 GB, free: 93.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/6.237, allocations: 289.4 kB / 3.004 GB, free: 93.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/6.237, allocations: 0 / 3.004 GB, free: 93.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/6.237, allocations: 0 / 3.004 GB, free: 93.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/6.237, allocations: 3.984 kB / 3.004 GB, free: 93.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/6.238, allocations: 0.8048 MB / 3.005 GB, free: 92.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/6.238, allocations: 0 / 3.005 GB, free: 92.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/6.238, allocations: 51.91 kB / 3.005 GB, free: 92.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/6.238, allocations: 4 kB / 3.005 GB, free: 92.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/6.238, allocations: 4 kB / 3.005 GB, free: 92.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/6.238, allocations: 7.938 kB / 3.005 GB, free: 92.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/6.238, allocations: 0 / 3.005 GB, free: 92.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006578/6.239, allocations: 0.5914 MB / 3.005 GB, free: 91.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/6.239, allocations: 140.6 kB / 3.005 GB, free: 91.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/6.239, allocations: 4 kB / 3.005 GB, free: 91.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/6.24, allocations: 31.81 kB / 3.005 GB, free: 91.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/6.24, allocations: 31.88 kB / 3.006 GB, free: 91.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/6.24, allocations: 8 kB / 3.006 GB, free: 91.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002384/6.24, allocations: 299.1 kB / 3.006 GB, free: 91.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/6.24, allocations: 0 / 3.006 GB, free: 91.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008609/6.241, allocations: 227.9 kB / 3.006 GB, free: 90.95 MB / 0.7136 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.002289/6.243, allocations: 2.641 MB / 3.009 GB, free: 88.22 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004738/6.244, allocations: 215.6 kB / 3.009 GB, free: 88.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/6.244, allocations: 0 / 3.009 GB, free: 88.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/6.244, allocations: 111.8 kB / 3.009 GB, free: 87.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009625/6.245, allocations: 221.7 kB / 3.009 GB, free: 87.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/6.248, allocations: 2.964 MB / 3.012 GB, free: 84.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/6.248, allocations: 0.8314 MB / 3.013 GB, free: 83.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003201/6.249, allocations: 87.34 kB / 3.013 GB, free: 83.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/6.249, allocations: 131.4 kB / 3.013 GB, free: 83.55 MB / 0.7136 GB Notification: Performance of SimCode: time 8.52e-07/6.249, allocations: 0 / 3.013 GB, free: 83.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04592/6.295, allocations: 29.85 MB / 3.042 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/6.295, allocations: 224.4 kB / 3.042 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.999/9.294, allocations: 4 kB / 3.042 GB, free: 53.69 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)