Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_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.006906/0.006906, allocations: 169.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7833/0.7833, allocations: 135.2 MB / 151.1 MB, free: 13.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 1.621/1.621, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001111/0.001111, allocations: 96.59 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.000377, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5469/0.5473, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.076/6.624, allocations: 1.874 GB / 2.523 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/6.624, allocations: 91.95 kB / 2.523 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.248/7.872, allocations: 360.5 MB / 2.875 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.222e-06/7.872, allocations: 0 / 2.875 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.291e-05/7.872, allocations: 16 kB / 2.875 GB, free: 9.738 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.001647/7.874, allocations: 0.8412 MB / 2.876 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/7.874, allocations: 12.03 kB / 2.876 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.465e-05/7.874, allocations: 66.53 kB / 2.876 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/7.875, allocations: 179.8 kB / 2.876 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/7.876, allocations: 385.8 kB / 2.877 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/7.876, allocations: 20.66 kB / 2.877 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/7.876, allocations: 32 kB / 2.877 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/7.876, allocations: 377.9 kB / 2.877 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/7.876, allocations: 3.938 kB / 2.877 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/7.876, allocations: 16 kB / 2.877 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/7.876, allocations: 8 kB / 2.877 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/7.877, allocations: 258 kB / 2.877 GB, free: 7.43 MB / 0.6823 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.001572/7.878, allocations: 1.769 MB / 2.879 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/7.879, allocations: 195.3 kB / 2.879 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000734/7.879, allocations: 0.8701 MB / 2.88 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/7.879, allocations: 34.56 kB / 2.88 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=23): time 1.814e-06/7.879, allocations: 0 / 2.88 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.0008056/7.88, allocations: 361.2 kB / 2.88 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/7.88, allocations: 59.27 kB / 2.881 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/7.881, allocations: 373.1 kB / 2.881 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/7.881, allocations: 29.7 kB / 2.881 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/7.881, allocations: 212.7 kB / 2.881 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/7.881, allocations: 82.75 kB / 2.881 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/7.881, allocations: 4 kB / 2.881 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.967e-05/7.881, allocations: 354.8 kB / 2.882 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/7.881, allocations: 84.42 kB / 2.882 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/7.881, allocations: 126.2 kB / 2.882 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/7.881, allocations: 104.9 kB / 2.882 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/7.881, allocations: 0 / 2.882 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004364/7.882, allocations: 294.5 kB / 2.882 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/7.882, allocations: 8 kB / 2.882 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/7.882, allocations: 0 / 2.882 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/7.882, allocations: 4 kB / 2.882 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/7.882, allocations: 52.02 kB / 2.882 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/7.882, allocations: 11.89 kB / 2.882 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/7.882, allocations: 43.72 kB / 2.882 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/7.883, allocations: 8 kB / 2.882 GB, free: 2 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 () * 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.0001505/7.883, allocations: 165.7 kB / 2.882 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/7.883, allocations: 43.44 kB / 2.882 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005033/7.883, allocations: 296.8 kB / 2.883 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/7.883, allocations: 4 kB / 2.883 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/7.883, allocations: 0 / 2.883 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/7.883, allocations: 3.953 kB / 2.883 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/7.884, allocations: 0.8085 MB / 2.884 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/7.884, allocations: 4.188 kB / 2.884 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/7.885, allocations: 47.92 kB / 2.884 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/7.885, allocations: 7.953 kB / 2.884 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/7.885, allocations: 8 kB / 2.884 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/7.885, allocations: 3.984 kB / 2.884 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/7.885, allocations: 4 kB / 2.884 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5248/8.409, allocations: 0.5607 MB / 2.884 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004113/8.41, allocations: 143 kB / 2.884 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/8.41, allocations: 11.78 kB / 2.884 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/8.41, allocations: 28.3 kB / 2.884 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/8.41, allocations: 24.34 kB / 2.884 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/8.41, allocations: 9.266 kB / 2.884 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005343/8.411, allocations: 297.5 kB / 2.885 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/8.411, allocations: 0.9062 kB / 2.885 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001117/8.412, allocations: 225.8 kB / 2.885 GB, free: 159.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 () * 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.003699/8.416, allocations: 2.636 MB / 2.887 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006305/8.416, allocations: 214.6 kB / 2.888 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/8.417, allocations: 2.188 kB / 2.888 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/8.417, allocations: 117.3 kB / 2.888 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/8.418, allocations: 207.4 kB / 2.888 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/8.423, allocations: 2.976 MB / 2.891 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/8.424, allocations: 0.8368 MB / 2.892 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004822/8.424, allocations: 85.67 kB / 2.892 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/8.424, allocations: 137.8 kB / 2.892 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/8.424, allocations: 0.6562 kB / 2.892 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07405/8.498, allocations: 29.82 MB / 2.921 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/8.499, allocations: 198.9 kB / 2.921 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.995/11.49, allocations: 0 / 2.921 GB, free: 155.9 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)