Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.728/0.728, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009669/0.000967, allocations: 173.6 kB / 187.2 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 221.3 MB / 441.4 MB, free: 4.621 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.0009364/0.0009364, allocations: 96.42 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001762, allocations: 269.7 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.686e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3587, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.615/3.973, allocations: 1.87 GB / 2.635 GB, free: 177.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/3.974, allocations: 87.89 kB / 2.635 GB, free: 177.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9555/4.929, allocations: 360.1 MB / 2.986 GB, free: 90.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.263e-06/4.929, allocations: 0 / 2.986 GB, free: 90.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.16e-05/4.929, allocations: 15.98 kB / 2.986 GB, free: 90.77 MB / 0.698 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.001072/4.93, allocations: 0.7633 MB / 2.987 GB, free: 89.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/4.93, allocations: 12.03 kB / 2.987 GB, free: 89.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/4.932, allocations: 171.2 kB / 2.987 GB, free: 89.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/4.932, allocations: 389.6 kB / 2.988 GB, free: 89.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/4.932, allocations: 21.47 kB / 2.988 GB, free: 89.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/4.932, allocations: 32 kB / 2.988 GB, free: 89.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/4.933, allocations: 359.6 kB / 2.988 GB, free: 88.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/4.933, allocations: 0 / 2.988 GB, free: 88.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/4.933, allocations: 15.94 kB / 2.988 GB, free: 88.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/4.933, allocations: 8 kB / 2.988 GB, free: 88.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/4.933, allocations: 226 kB / 2.988 GB, free: 88.69 MB / 0.698 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.001437/4.934, allocations: 1.765 MB / 2.99 GB, free: 86.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/4.935, allocations: 174.5 kB / 2.99 GB, free: 86.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/4.935, allocations: 92.83 kB / 2.99 GB, free: 86.51 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007137/4.936, allocations: 0.8662 MB / 2.991 GB, free: 85.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/4.936, allocations: 34.56 kB / 2.991 GB, free: 85.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.482e-06/4.936, allocations: 4 kB / 2.991 GB, free: 85.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.000499/4.936, allocations: 240.8 kB / 2.991 GB, free: 85.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/4.936, allocations: 55.41 kB / 2.992 GB, free: 85.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/4.936, allocations: 363.2 kB / 2.992 GB, free: 84.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/4.936, allocations: 29.7 kB / 2.992 GB, free: 84.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/4.937, allocations: 220.4 kB / 2.992 GB, free: 84.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/4.937, allocations: 82.73 kB / 2.992 GB, free: 84.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-06/4.937, allocations: 4 kB / 2.992 GB, free: 84.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.773e-05/4.937, allocations: 354.8 kB / 2.993 GB, free: 84.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.635e-05/4.937, allocations: 64.45 kB / 2.993 GB, free: 83.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/4.937, allocations: 110.2 kB / 2.993 GB, free: 83.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/4.937, allocations: 82.58 kB / 2.993 GB, free: 83.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/4.937, allocations: 4 kB / 2.993 GB, free: 83.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000305/4.937, allocations: 257.5 kB / 2.993 GB, free: 83.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/4.937, allocations: 8 kB / 2.993 GB, free: 83.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/4.937, allocations: 0 / 2.993 GB, free: 83.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/4.937, allocations: 8 kB / 2.993 GB, free: 83.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/4.938, allocations: 51.91 kB / 2.993 GB, free: 83.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/4.938, allocations: 4 kB / 2.993 GB, free: 83.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/4.938, allocations: 43.7 kB / 2.993 GB, free: 83.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/4.938, allocations: 12.11 kB / 2.993 GB, free: 83.39 MB / 0.698 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 5.869e-05/4.938, allocations: 120.8 kB / 2.993 GB, free: 83.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/4.938, allocations: 47.44 kB / 2.993 GB, free: 83.22 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/4.938, allocations: 253.2 kB / 2.994 GB, free: 82.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/4.938, allocations: 0 / 2.994 GB, free: 82.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/4.938, allocations: 4 kB / 2.994 GB, free: 82.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/4.938, allocations: 4 kB / 2.994 GB, free: 82.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008424/4.939, allocations: 0.762 MB / 2.994 GB, free: 82.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/4.939, allocations: 4.031 kB / 2.994 GB, free: 82.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/4.94, allocations: 51.91 kB / 2.994 GB, free: 82.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/4.94, allocations: 0 / 2.994 GB, free: 82.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/4.94, allocations: 8 kB / 2.994 GB, free: 82.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/4.94, allocations: 4 kB / 2.994 GB, free: 82.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/4.94, allocations: 4 kB / 2.994 GB, free: 82.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/4.94, allocations: 0.5233 MB / 2.995 GB, free: 81.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/4.94, allocations: 148.5 kB / 2.995 GB, free: 81.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/4.94, allocations: 8 kB / 2.995 GB, free: 81.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/4.941, allocations: 27.97 kB / 2.995 GB, free: 81.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/4.941, allocations: 27.92 kB / 2.995 GB, free: 81.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/4.941, allocations: 12 kB / 2.995 GB, free: 81.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002336/4.941, allocations: 293.1 kB / 2.995 GB, free: 80.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/4.941, allocations: 0 / 2.995 GB, free: 80.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006938/4.942, allocations: 227.9 kB / 2.996 GB, free: 80.71 MB / 0.698 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.00125/4.943, allocations: 1.209 MB / 2.997 GB, free: 79.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002931/4.943, allocations: 171.7 kB / 2.997 GB, free: 79.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/4.943, allocations: 4.062 kB / 2.997 GB, free: 79.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/4.943, allocations: 95.86 kB / 2.997 GB, free: 79.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009466/4.944, allocations: 211.2 kB / 2.997 GB, free: 79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/4.945, allocations: 0.6893 MB / 2.998 GB, free: 78.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/4.945, allocations: 0.8353 MB / 2.999 GB, free: 77.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002688/4.946, allocations: 79.34 kB / 2.999 GB, free: 77.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.804e-05/4.946, allocations: 31.44 kB / 2.999 GB, free: 77.29 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/4.946, allocations: 0 / 2.999 GB, free: 77.29 MB / 0.698 GB Notification: Performance of Templates: time 0.02743/4.973, allocations: 25.05 MB / 3.023 GB, free: 52.31 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)