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/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/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: translateModel(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice") translateModel(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 174.5 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/package.mo): time 0.8699/0.8699, allocations: 130.6 MB / 143.8 MB, free: 13.58 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.739/1.739, allocations: 221.3 MB / 396.8 MB, free: 9.184 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.00118/0.00118, allocations: 105.1 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.423e-05/5.426e-05, allocations: 12.11 kB / 0.5551 GB, free: 86.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2279, allocations: 81.58 MB / 0.6347 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.235/5.463, allocations: 1.873 GB / 2.508 GB, free: 50.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/5.464, allocations: 86.45 kB / 2.508 GB, free: 50.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.512/6.976, allocations: 360.2 MB / 2.86 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/6.976, allocations: 3.469 kB / 2.86 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.394e-05/6.976, allocations: 12.44 kB / 2.86 GB, free: 163.3 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.001975/6.978, allocations: 0.7622 MB / 2.861 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/6.978, allocations: 14.88 kB / 2.861 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/6.98, allocations: 182.1 kB / 2.861 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008628/6.981, allocations: 382.5 kB / 2.861 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/6.981, allocations: 25.22 kB / 2.861 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/6.981, allocations: 32.94 kB / 2.861 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007955/6.982, allocations: 348.8 kB / 2.861 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/6.982, allocations: 10.42 kB / 2.861 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/6.982, allocations: 14.09 kB / 2.862 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/6.982, allocations: 7.844 kB / 2.862 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005905/6.983, allocations: 215.1 kB / 2.862 GB, free: 162.6 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.0025/6.985, allocations: 1.769 MB / 2.863 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/6.986, allocations: 174.6 kB / 2.864 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/6.986, allocations: 90.09 kB / 2.864 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/6.987, allocations: 0.8689 MB / 2.865 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/6.987, allocations: 42.33 kB / 2.865 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=23): time 3.005e-06/6.987, allocations: 0 / 2.865 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.0008421/6.988, allocations: 241.6 kB / 2.865 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/6.988, allocations: 58.22 kB / 2.865 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/6.989, allocations: 364.8 kB / 2.865 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/6.989, allocations: 31.08 kB / 2.865 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/6.989, allocations: 215.8 kB / 2.865 GB, free: 160 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-05/6.989, allocations: 83.91 kB / 2.866 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/6.989, allocations: 11.03 kB / 2.866 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001026/6.989, allocations: 348.9 kB / 2.866 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/6.989, allocations: 60.14 kB / 2.866 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/6.99, allocations: 118.8 kB / 2.866 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/6.99, allocations: 74.06 kB / 2.866 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/6.99, allocations: 0 / 2.866 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006275/6.99, allocations: 254.7 kB / 2.866 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/6.99, allocations: 7.469 kB / 2.866 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/6.991, allocations: 3.312 kB / 2.866 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/6.991, allocations: 3.953 kB / 2.866 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/6.991, allocations: 55.97 kB / 2.866 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/6.991, allocations: 2.578 kB / 2.866 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/6.992, allocations: 47.16 kB / 2.866 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/6.992, allocations: 15.59 kB / 2.866 GB, free: 159.5 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 9.924e-05/6.992, allocations: 117.9 kB / 2.867 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/6.992, allocations: 43.66 kB / 2.867 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006652/6.992, allocations: 251.7 kB / 2.867 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/6.993, allocations: 6.641 kB / 2.867 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/6.993, allocations: 3.688 kB / 2.867 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/6.993, allocations: 3.797 kB / 2.867 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/6.994, allocations: 0.777 MB / 2.868 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/6.994, allocations: 6.531 kB / 2.868 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/6.995, allocations: 52.69 kB / 2.868 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/6.995, allocations: 0 / 2.868 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/6.995, allocations: 7.344 kB / 2.868 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/6.995, allocations: 0 / 2.868 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/6.995, allocations: 2.969 kB / 2.868 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008475/6.996, allocations: 0.5284 MB / 2.868 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/6.996, allocations: 140.6 kB / 2.868 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/6.996, allocations: 7.906 kB / 2.868 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005398/6.996, allocations: 28.61 kB / 2.868 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/6.997, allocations: 18.08 kB / 2.868 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/6.997, allocations: 10.56 kB / 2.868 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004468/6.997, allocations: 291.5 kB / 2.869 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/6.997, allocations: 0 / 2.869 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001205/6.998, allocations: 227.7 kB / 2.869 GB, free: 158.5 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.002269/7.001, allocations: 1.218 MB / 2.87 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00057/7.001, allocations: 173.4 kB / 2.87 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/7.001, allocations: 0 / 2.87 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002663/7.001, allocations: 95.2 kB / 2.87 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/7.003, allocations: 218.7 kB / 2.871 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/7.006, allocations: 0.6862 MB / 2.871 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/7.006, allocations: 0.8353 MB / 2.872 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006756/7.007, allocations: 77.84 kB / 2.872 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/7.007, allocations: 36.92 kB / 2.872 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.863e-06/7.007, allocations: 3.688 kB / 2.872 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.05799/7.065, allocations: 25.02 MB / 2.897 GB, free: 156.5 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.makefile (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 & ./IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)