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.001348/0.001348, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8974/0.8974, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009137/0.0009137, allocations: 101.1 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.149e-05, allocations: 4 kB / 0.5535 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4563, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.613/5.07, allocations: 1.873 GB / 2.507 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/5.07, allocations: 92.38 kB / 2.507 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.149/6.219, allocations: 356 MB / 2.854 GB, free: 49.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/6.219, allocations: 0 / 2.854 GB, free: 49.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.336e-05/6.219, allocations: 12 kB / 2.854 GB, free: 49.04 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.001598/6.221, allocations: 0.7671 MB / 2.855 GB, free: 48.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/6.221, allocations: 8.031 kB / 2.855 GB, free: 48.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/6.222, allocations: 171.3 kB / 2.855 GB, free: 48.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006768/6.223, allocations: 384.9 kB / 2.856 GB, free: 47.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/6.223, allocations: 12 kB / 2.856 GB, free: 47.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/6.223, allocations: 16 kB / 2.856 GB, free: 47.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003241/6.223, allocations: 197.5 kB / 2.856 GB, free: 47.42 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/6.224, allocations: 318.1 kB / 2.856 GB, free: 47.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/6.224, allocations: 0 / 2.856 GB, free: 47.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/6.224, allocations: 0 / 2.856 GB, free: 47.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/6.224, allocations: 8 kB / 2.856 GB, free: 47.07 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.001573/6.225, allocations: 1.671 MB / 2.858 GB, free: 45.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/6.226, allocations: 166.6 kB / 2.858 GB, free: 45.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/6.226, allocations: 89.59 kB / 2.858 GB, free: 45.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007533/6.226, allocations: 0.8623 MB / 2.859 GB, free: 43.96 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/6.226, allocations: 38.56 kB / 2.859 GB, free: 43.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=23): time 1.432e-06/6.226, allocations: 0 / 2.859 GB, free: 43.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.0007284/6.227, allocations: 271 kB / 2.859 GB, free: 43.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/6.227, allocations: 55.41 kB / 2.859 GB, free: 43.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/6.227, allocations: 258.4 kB / 2.86 GB, free: 43.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/6.227, allocations: 25.7 kB / 2.86 GB, free: 43.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/6.228, allocations: 220.5 kB / 2.86 GB, free: 43.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/6.228, allocations: 78.8 kB / 2.86 GB, free: 42.99 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/6.228, allocations: 0 / 2.86 GB, free: 42.99 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.981e-05/6.228, allocations: 350.8 kB / 2.86 GB, free: 42.64 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-05/6.228, allocations: 60.45 kB / 2.86 GB, free: 42.58 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/6.228, allocations: 114 kB / 2.86 GB, free: 42.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/6.228, allocations: 104.8 kB / 2.86 GB, free: 42.35 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/6.228, allocations: 4 kB / 2.86 GB, free: 42.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004652/6.229, allocations: 266.7 kB / 2.861 GB, free: 42.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/6.229, allocations: 13.89 kB / 2.861 GB, free: 42.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/6.229, allocations: 8 kB / 2.861 GB, free: 42.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/6.229, allocations: 0 / 2.861 GB, free: 42.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/6.229, allocations: 55.92 kB / 2.861 GB, free: 42.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/6.229, allocations: 0 / 2.861 GB, free: 42.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/6.229, allocations: 39.72 kB / 2.861 GB, free: 41.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/6.229, allocations: 8 kB / 2.861 GB, free: 41.96 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 6.915e-05/6.229, allocations: 112.9 kB / 2.861 GB, free: 41.84 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004265/6.23, allocations: 243.7 kB / 2.861 GB, free: 41.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/6.23, allocations: 31.73 kB / 2.861 GB, free: 41.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005059/6.23, allocations: 272.5 kB / 2.861 GB, free: 41.29 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/6.23, allocations: 4 kB / 2.862 GB, free: 41.29 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/6.23, allocations: 3.984 kB / 2.862 GB, free: 41.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/6.23, allocations: 4 kB / 2.862 GB, free: 41.28 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009936/6.231, allocations: 0.7339 MB / 2.862 GB, free: 40.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/6.231, allocations: 192 / 2.862 GB, free: 40.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/6.232, allocations: 55.91 kB / 2.862 GB, free: 40.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/6.232, allocations: 4 kB / 2.862 GB, free: 40.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/6.232, allocations: 7.953 kB / 2.862 GB, free: 40.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/6.232, allocations: 4 kB / 2.862 GB, free: 40.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/6.232, allocations: 0 / 2.862 GB, free: 40.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/6.232, allocations: 0.5436 MB / 2.863 GB, free: 39.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/6.233, allocations: 136.7 kB / 2.863 GB, free: 39.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/6.233, allocations: 11.95 kB / 2.863 GB, free: 39.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/6.233, allocations: 19.97 kB / 2.863 GB, free: 39.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/6.233, allocations: 23.89 kB / 2.863 GB, free: 39.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/6.233, allocations: 8 kB / 2.863 GB, free: 39.59 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001491/6.233, allocations: 208.6 kB / 2.863 GB, free: 39.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/6.233, allocations: 0 / 2.863 GB, free: 39.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006276/6.234, allocations: 191.8 kB / 2.863 GB, free: 39.2 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.002336/6.236, allocations: 2.755 MB / 2.866 GB, free: 36.35 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002744/6.236, allocations: 160.7 kB / 2.866 GB, free: 36.19 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/6.236, allocations: 4.062 kB / 2.866 GB, free: 36.19 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/6.236, allocations: 87.86 kB / 2.866 GB, free: 36.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007934/6.237, allocations: 151 kB / 2.866 GB, free: 35.96 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/6.239, allocations: 0.7818 MB / 2.867 GB, free: 35.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/6.239, allocations: 0.8265 MB / 2.868 GB, free: 34.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002729/6.239, allocations: 75.22 kB / 2.868 GB, free: 34.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/6.239, allocations: 127.4 kB / 2.868 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of SimCode: time 3e-07/6.239, allocations: 0 / 2.868 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03886/6.278, allocations: 17.83 MB / 2.886 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/6.278, allocations: 149.5 kB / 2.886 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/8.817, allocations: 0 / 2.886 GB, free: 16.14 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)