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.001172/0.001171, allocations: 176.2 kB / 7.648 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.7803/0.7803, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.49/1.49, 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.0009592/0.0009592, allocations: 100.9 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.346e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4336, allocations: 82.3 MB / 0.6339 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.481/4.915, allocations: 1.873 GB / 2.507 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/4.915, allocations: 83.95 kB / 2.507 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.104/6.019, allocations: 356 MB / 2.854 GB, free: 81.19 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.372e-06/6.019, allocations: 4 kB / 2.854 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.562e-05/6.019, allocations: 15.98 kB / 2.854 GB, free: 81.17 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.001649/6.021, allocations: 0.7651 MB / 2.855 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/6.021, allocations: 8.031 kB / 2.855 GB, free: 80.35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/6.022, allocations: 171.2 kB / 2.855 GB, free: 80.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007882/6.023, allocations: 388.9 kB / 2.856 GB, free: 79.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/6.023, allocations: 11.95 kB / 2.856 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/6.023, allocations: 20 kB / 2.856 GB, free: 79.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003646/6.023, allocations: 193.5 kB / 2.856 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/6.024, allocations: 310.1 kB / 2.856 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/6.024, allocations: 0 / 2.856 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/6.024, allocations: 4 kB / 2.856 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/6.024, allocations: 8 kB / 2.856 GB, free: 79.19 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.001706/6.026, allocations: 1.675 MB / 2.858 GB, free: 77.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/6.026, allocations: 162.5 kB / 2.858 GB, free: 77.22 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/6.026, allocations: 90.25 kB / 2.858 GB, free: 77.13 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007723/6.027, allocations: 0.8662 MB / 2.859 GB, free: 76.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/6.027, allocations: 30.56 kB / 2.859 GB, free: 76.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/6.027, allocations: 4 kB / 2.859 GB, free: 76.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.0007891/6.028, allocations: 267 kB / 2.859 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/6.028, allocations: 55.39 kB / 2.859 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/6.028, allocations: 258.4 kB / 2.86 GB, free: 75.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/6.028, allocations: 25.7 kB / 2.86 GB, free: 75.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/6.028, allocations: 220.5 kB / 2.86 GB, free: 75.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/6.028, allocations: 74.86 kB / 2.86 GB, free: 75.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/6.028, allocations: 0 / 2.86 GB, free: 75.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.353e-05/6.028, allocations: 354.7 kB / 2.86 GB, free: 74.76 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/6.028, allocations: 60.39 kB / 2.86 GB, free: 74.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/6.028, allocations: 110.1 kB / 2.86 GB, free: 74.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/6.029, allocations: 116.8 kB / 2.86 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/6.029, allocations: 4 kB / 2.86 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004652/6.029, allocations: 266.7 kB / 2.861 GB, free: 74.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/6.029, allocations: 8 kB / 2.861 GB, free: 74.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/6.029, allocations: 3.984 kB / 2.861 GB, free: 74.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/6.029, allocations: 4 kB / 2.861 GB, free: 74.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/6.03, allocations: 47.92 kB / 2.861 GB, free: 74.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/6.03, allocations: 4 kB / 2.861 GB, free: 74.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/6.03, allocations: 35.75 kB / 2.861 GB, free: 74.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/6.03, allocations: 16 kB / 2.861 GB, free: 74.08 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 7.459e-05/6.03, allocations: 112.9 kB / 2.861 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000446/6.03, allocations: 243.7 kB / 2.861 GB, free: 73.72 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/6.031, allocations: 35.62 kB / 2.861 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005051/6.031, allocations: 276.6 kB / 2.862 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/6.031, allocations: 7.984 kB / 2.862 GB, free: 73.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/6.031, allocations: 3.984 kB / 2.862 GB, free: 73.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/6.031, allocations: 0 / 2.862 GB, free: 73.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/6.032, allocations: 0.7394 MB / 2.862 GB, free: 72.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/6.032, allocations: 0 / 2.862 GB, free: 72.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/6.032, allocations: 51.91 kB / 2.862 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/6.032, allocations: 4 kB / 2.862 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/6.032, allocations: 4 kB / 2.862 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/6.032, allocations: 7.953 kB / 2.862 GB, free: 72.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/6.032, allocations: 4 kB / 2.862 GB, free: 72.53 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/6.033, allocations: 0.5359 MB / 2.863 GB, free: 71.92 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/6.033, allocations: 132.7 kB / 2.863 GB, free: 71.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/6.033, allocations: 4 kB / 2.863 GB, free: 71.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/6.034, allocations: 31.92 kB / 2.863 GB, free: 71.74 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/6.034, allocations: 19.89 kB / 2.863 GB, free: 71.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/6.034, allocations: 8 kB / 2.863 GB, free: 71.71 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001656/6.034, allocations: 212.5 kB / 2.863 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.034, allocations: 0 / 2.863 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007237/6.035, allocations: 199.7 kB / 2.863 GB, free: 71.31 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.002926/6.038, allocations: 2.754 MB / 2.866 GB, free: 68.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003762/6.038, allocations: 172.6 kB / 2.866 GB, free: 68.29 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/6.038, allocations: 0 / 2.866 GB, free: 68.29 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/6.038, allocations: 88.55 kB / 2.866 GB, free: 68.21 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009981/6.039, allocations: 152.6 kB / 2.866 GB, free: 68.06 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/6.041, allocations: 0.7639 MB / 2.867 GB, free: 67.24 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/6.041, allocations: 0.8304 MB / 2.868 GB, free: 66.38 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003041/6.042, allocations: 67.23 kB / 2.868 GB, free: 66.31 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/6.042, allocations: 127.4 kB / 2.868 GB, free: 66.18 MB / 0.6823 GB Notification: Performance of SimCode: time 7.32e-07/6.042, allocations: 0 / 2.868 GB, free: 66.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04221/6.084, allocations: 17.83 MB / 2.886 GB, free: 48.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/6.084, allocations: 149.7 kB / 2.886 GB, free: 48.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/8.613, allocations: 0 / 2.886 GB, free: 48.25 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)