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.002241/0.002241, allocations: 172 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.722/0.722, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.53/1.53, allocations: 221.3 MB / 400.4 MB, free: 5.812 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.001076/0.001076, allocations: 102 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.689e-05, allocations: 2.5 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1835, allocations: 82.3 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.924/5.107, allocations: 1.873 GB / 2.514 GB, free: 57.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/5.108, allocations: 83.95 kB / 2.514 GB, free: 57.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.623/6.731, allocations: 360.2 MB / 2.866 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.052e-06/6.731, allocations: 3.125 kB / 2.866 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.901e-05/6.731, allocations: 12.09 kB / 2.866 GB, free: 160.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.001902/6.733, allocations: 0.7711 MB / 2.867 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/6.733, allocations: 14.25 kB / 2.867 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/6.733, allocations: 64.2 kB / 2.867 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/6.734, allocations: 175.2 kB / 2.867 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007683/6.735, allocations: 378.8 kB / 2.867 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/6.735, allocations: 33.41 kB / 2.867 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/6.735, allocations: 31.78 kB / 2.867 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/6.736, allocations: 353.2 kB / 2.868 GB, free: 160 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/6.736, allocations: 0 / 2.868 GB, free: 160 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/6.736, allocations: 14.66 kB / 2.868 GB, free: 160 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/6.736, allocations: 7.812 kB / 2.868 GB, free: 160 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/6.736, allocations: 221.4 kB / 2.868 GB, free: 160 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.001937/6.738, allocations: 1.77 MB / 2.87 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/6.738, allocations: 177.4 kB / 2.87 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/6.738, allocations: 95.06 kB / 2.87 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007681/6.739, allocations: 0.8648 MB / 2.871 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/6.739, allocations: 30.56 kB / 2.871 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=23): time 2.645e-06/6.739, allocations: 0 / 2.871 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.0006069/6.74, allocations: 249.9 kB / 2.871 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/6.74, allocations: 55.31 kB / 2.871 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/6.74, allocations: 371.7 kB / 2.871 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/6.74, allocations: 29.2 kB / 2.871 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/6.741, allocations: 205.4 kB / 2.872 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/6.741, allocations: 86.06 kB / 2.872 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/6.741, allocations: 3.875 kB / 2.872 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.631e-05/6.741, allocations: 353.4 kB / 2.872 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/6.741, allocations: 64.5 kB / 2.872 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/6.741, allocations: 117.1 kB / 2.872 GB, free: 157 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/6.741, allocations: 78.67 kB / 2.872 GB, free: 157 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/6.741, allocations: 0 / 2.872 GB, free: 157 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003763/6.741, allocations: 254.9 kB / 2.872 GB, free: 157 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/6.741, allocations: 5.188 kB / 2.872 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/6.742, allocations: 3.25 kB / 2.872 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/6.742, allocations: 3.953 kB / 2.872 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/6.742, allocations: 57.28 kB / 2.872 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/6.742, allocations: 2.531 kB / 2.872 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/6.742, allocations: 46.59 kB / 2.873 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/6.742, allocations: 15.03 kB / 2.873 GB, free: 156.9 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 8.882e-05/6.742, allocations: 119.3 kB / 2.873 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/6.742, allocations: 38.41 kB / 2.873 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/6.743, allocations: 250.6 kB / 2.873 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/6.743, allocations: 6.953 kB / 2.873 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/6.743, allocations: 7.797 kB / 2.873 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/6.743, allocations: 7.641 kB / 2.873 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/6.744, allocations: 0.7689 MB / 2.874 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/6.744, allocations: 0 / 2.874 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/6.744, allocations: 53 kB / 2.874 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/6.744, allocations: 7.531 kB / 2.874 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/6.744, allocations: 7.094 kB / 2.874 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/6.744, allocations: 0 / 2.874 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/6.744, allocations: 10.69 kB / 2.874 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/6.745, allocations: 0.5179 MB / 2.874 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/6.745, allocations: 143.1 kB / 2.874 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/6.745, allocations: 8.812 kB / 2.874 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/6.745, allocations: 30.3 kB / 2.874 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/6.745, allocations: 17.8 kB / 2.874 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/6.745, allocations: 10.67 kB / 2.874 GB, free: 156 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002651/6.746, allocations: 293.5 kB / 2.875 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.746, allocations: 0 / 2.875 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008924/6.747, allocations: 232.2 kB / 2.875 GB, free: 155.9 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.002619/6.749, allocations: 2.578 MB / 2.878 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003551/6.75, allocations: 178.8 kB / 2.878 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/6.75, allocations: 0 / 2.878 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/6.75, allocations: 93.06 kB / 2.878 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/6.751, allocations: 216.4 kB / 2.878 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/6.752, allocations: 0.8112 MB / 2.879 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/6.753, allocations: 0.8325 MB / 2.88 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003507/6.753, allocations: 79.66 kB / 2.88 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/6.753, allocations: 140.7 kB / 2.88 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.375e-06/6.753, allocations: 0 / 2.88 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05721/6.81, 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.0001846/6.811, allocations: 177.5 kB / 2.912 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.145/9.955, allocations: 0 / 2.912 GB, free: 152.2 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)