Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice") translateModel(Annex60.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003909/0.003909, allocations: 101.6 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009863/0.0009863, allocations: 196.4 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.149/1.149, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3348/0.3348, allocations: 54.94 MB / 324.9 MB, free: 76 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 74.7 kB / 456.2 MB, free: 38.33 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08224/0.08355, allocations: 59.59 MB / 0.5037 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.Orifice): time 0.3748/0.4584, allocations: 173.8 MB / 0.6735 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002714/0.4612, allocations: 2.228 MB / 0.6756 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.4614, allocations: 12.69 kB / 0.6757 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006974/0.4621, allocations: 324.4 kB / 0.676 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.4634, allocations: 0.8273 MB / 0.6768 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.4649, allocations: 0.9046 MB / 0.6777 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009322/0.4658, allocations: 1.308 MB / 0.6789 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.4662, allocations: 421.2 kB / 0.6793 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006997/0.4669, allocations: 0.6668 MB / 0.68 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000368/0.4673, allocations: 423 kB / 0.6804 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.255e-05/0.4674, allocations: 61.66 kB / 0.6804 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008848/0.4683, allocations: 0.7661 MB / 0.6812 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.4685, allocations: 228.7 kB / 0.6814 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.4687, allocations: 330.7 kB / 0.6817 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009488/0.4697, allocations: 1.089 MB / 0.6828 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4697, allocations: 0 / 0.6828 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4697, allocations: 0 / 0.6828 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.4697, allocations: 0 / 0.6828 GB, free: 15.68 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001305/0.471, allocations: 0.9338 MB / 0.6837 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.4711, allocations: 10.75 kB / 0.6837 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.4721, allocations: 174.9 kB / 0.6839 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.4727, allocations: 437.7 kB / 0.6843 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.4727, allocations: 35.91 kB / 0.6843 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/0.4727, allocations: 42.88 kB / 0.6844 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/0.4734, allocations: 0.5 MB / 0.6849 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4735, allocations: 0 / 0.6849 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.4735, allocations: 20.02 kB / 0.6849 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.4735, allocations: 17.72 kB / 0.6849 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00057/0.4741, allocations: 373.3 kB / 0.6853 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.4761, allocations: 1.905 MB / 0.6871 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.4765, allocations: 234.2 kB / 0.6873 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.4767, allocations: 122.9 kB / 0.6875 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007308/0.4774, allocations: 0.6883 MB / 0.6881 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.4774, allocations: 36.38 kB / 0.6882 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=26): time 1.352e-06/0.4774, allocations: 3.453 kB / 0.6882 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26): time 0.0006809/0.4781, allocations: 378 kB / 0.6885 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.4782, allocations: 58.62 kB / 0.6886 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/0.4786, allocations: 0.5124 MB / 0.6891 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.4787, allocations: 32.17 kB / 0.6891 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.4788, allocations: 264.3 kB / 0.6894 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.4789, allocations: 96.88 kB / 0.6895 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.479, allocations: 62.89 kB / 0.6895 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4791, allocations: 359.9 kB / 0.6899 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.4793, allocations: 105.5 kB / 0.69 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.4795, allocations: 169.1 kB / 0.6901 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.4799, allocations: 285.1 kB / 0.6904 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4799, allocations: 2.438 kB / 0.6904 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005219/0.4804, allocations: 372 kB / 0.6908 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.4805, allocations: 8.375 kB / 0.6908 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4805, allocations: 2.109 kB / 0.6908 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4805, allocations: 6.594 kB / 0.6908 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.4808, allocations: 79.98 kB / 0.6908 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4808, allocations: 4.375 kB / 0.6908 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.481, allocations: 51.5 kB / 0.6909 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.4811, allocations: 14.5 kB / 0.6909 GB, free: 11.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.4812, allocations: 185.2 kB / 0.6911 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.141e-05/0.4813, allocations: 49.44 kB / 0.6911 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005092/0.4818, allocations: 322.6 kB / 0.6914 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4818, allocations: 7.344 kB / 0.6915 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4819, allocations: 0 / 0.6915 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4819, allocations: 6.578 kB / 0.6915 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009756/0.4828, allocations: 0.8807 MB / 0.6923 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4829, allocations: 4.188 kB / 0.6923 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.4831, allocations: 55.72 kB / 0.6924 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4831, allocations: 2.75 kB / 0.6924 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.4831, allocations: 7.938 kB / 0.6924 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.4831, allocations: 3.344 kB / 0.6924 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4831, allocations: 5.562 kB / 0.6924 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.4838, allocations: 0.5617 MB / 0.6929 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.484, allocations: 167.9 kB / 0.6931 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.4841, allocations: 7.625 kB / 0.6931 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.4844, allocations: 26.5 kB / 0.6931 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.4845, allocations: 21.36 kB / 0.6932 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.4845, allocations: 18.91 kB / 0.6932 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003055/0.4849, allocations: 376.9 kB / 0.6935 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.31e-07/0.4849, allocations: 2.094 kB / 0.6935 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003938/0.4853, allocations: 151 kB / 0.6937 GB, free: 10.74 MB / 0.5137 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003302/0.4856, allocations: 184.9 kB / 0.6939 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004314/0.486, allocations: 259.5 kB / 0.6941 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.486, allocations: 2.594 kB / 0.6941 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.4862, allocations: 128.9 kB / 0.6942 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.4875, allocations: 304.9 kB / 0.6945 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.4888, allocations: 1.042 MB / 0.6955 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.4892, allocations: 0.8622 MB / 0.6964 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002878/0.4895, allocations: 100.2 kB / 0.6965 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.4896, allocations: 41.8 kB / 0.6965 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of SimCode: time 6.72e-07/0.4896, allocations: 0 / 0.6965 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of Templates: time 0.01378/0.5034, allocations: 10.59 MB / 0.7069 GB, free: 4.766 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe 2>&1)