Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_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.002889/0.002889, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.53/1.53, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.828/2.828, allocations: 221.3 MB / 400.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 95.81 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.724e-05/9.785e-05, allocations: 3.125 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3158, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.647/9.963, allocations: 1.873 GB / 2.514 GB, free: 22.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/9.963, allocations: 84.94 kB / 2.514 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.906/12.87, allocations: 360.2 MB / 2.866 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.563e-06/12.87, allocations: 0 / 2.866 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.893e-05/12.87, allocations: 14.69 kB / 2.866 GB, free: 167.7 MB / 0.6823 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.001685/12.87, allocations: 0.7649 MB / 2.867 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/12.87, allocations: 11.62 kB / 2.867 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.477e-05/12.87, allocations: 65.58 kB / 2.867 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/12.87, allocations: 173.4 kB / 2.867 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000688/12.87, allocations: 386.7 kB / 2.867 GB, free: 167 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/12.87, allocations: 23.5 kB / 2.867 GB, free: 167 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.763e-05/12.87, allocations: 30.38 kB / 2.867 GB, free: 167 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007184/12.87, allocations: 359.6 kB / 2.868 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/12.87, allocations: 2.719 kB / 2.868 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.042e-05/12.87, allocations: 14.69 kB / 2.868 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/12.87, allocations: 8.125 kB / 2.868 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005411/12.88, allocations: 222.9 kB / 2.868 GB, free: 166.9 MB / 0.6823 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.002172/12.88, allocations: 1.762 MB / 2.869 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/12.88, allocations: 173.9 kB / 2.87 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/12.88, allocations: 98.14 kB / 2.87 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/12.88, allocations: 0.868 MB / 2.871 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/12.88, allocations: 39.16 kB / 2.871 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=23): time 2.645e-06/12.88, allocations: 0 / 2.871 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.0007432/12.88, allocations: 246.1 kB / 2.871 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/12.88, allocations: 55.31 kB / 2.871 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/12.88, allocations: 364.7 kB / 2.871 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/12.88, allocations: 37.52 kB / 2.871 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/12.88, allocations: 206.9 kB / 2.872 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/12.88, allocations: 90.78 kB / 2.872 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/12.88, allocations: 0 / 2.872 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001625/12.88, allocations: 356.7 kB / 2.872 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/12.88, allocations: 56.78 kB / 2.872 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/12.88, allocations: 116.4 kB / 2.872 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/12.88, allocations: 88.42 kB / 2.872 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/12.88, allocations: 0 / 2.872 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004157/12.88, allocations: 252.4 kB / 2.872 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/12.88, allocations: 8.422 kB / 2.872 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/12.88, allocations: 0 / 2.872 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/12.88, allocations: 3.688 kB / 2.872 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/12.88, allocations: 53.31 kB / 2.872 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/12.88, allocations: 2.906 kB / 2.872 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/12.88, allocations: 49.38 kB / 2.873 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/12.88, allocations: 15.25 kB / 2.873 GB, free: 163.8 MB / 0.6823 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 0.0001188/12.88, allocations: 120.1 kB / 2.873 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-05/12.88, allocations: 38.19 kB / 2.873 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005246/12.88, allocations: 255.8 kB / 2.873 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/12.88, allocations: 3.891 kB / 2.873 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/12.88, allocations: 3.938 kB / 2.873 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/12.88, allocations: 2.844 kB / 2.873 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/12.88, allocations: 0.7661 MB / 2.874 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/12.88, allocations: 3.906 kB / 2.874 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/12.88, allocations: 53.02 kB / 2.874 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/12.88, allocations: 3.031 kB / 2.874 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/12.88, allocations: 6.344 kB / 2.874 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/12.88, allocations: 5.781 kB / 2.874 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/12.88, allocations: 3.906 kB / 2.874 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006842/12.89, allocations: 0.5234 MB / 2.874 GB, free: 163 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/12.89, allocations: 143 kB / 2.874 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/12.89, allocations: 3.938 kB / 2.874 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/12.89, allocations: 29.23 kB / 2.874 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/12.89, allocations: 20.31 kB / 2.874 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/12.89, allocations: 19.08 kB / 2.874 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004736/12.89, allocations: 295.3 kB / 2.875 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/12.89, allocations: 0 / 2.875 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001552/12.89, allocations: 229.8 kB / 2.875 GB, free: 162.8 MB / 0.6823 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.00473/12.89, allocations: 2.584 MB / 2.878 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006313/12.89, allocations: 174.5 kB / 2.878 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/12.89, allocations: 0 / 2.878 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/12.89, allocations: 94.03 kB / 2.878 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/12.9, allocations: 216.5 kB / 2.878 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/12.9, allocations: 0.8029 MB / 2.879 GB, free: 161 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/12.9, allocations: 0.8381 MB / 2.88 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005214/12.9, allocations: 82.22 kB / 2.88 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/12.9, allocations: 134.1 kB / 2.88 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.123e-06/12.9, allocations: 0 / 2.88 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09909/13, allocations: 33.04 MB / 2.912 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/13, allocations: 184.8 kB / 2.912 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.26/18.26, allocations: 0 / 2.912 GB, free: 152.2 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)