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.006169/0.006169, allocations: 99.8 kB / 15.73 MB, free: 6.043 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.001129/0.001129, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.37/1.37, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.377/0.377, allocations: 54.95 MB / 324.8 MB, free: 8 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.001469/0.001469, allocations: 70.2 kB / 456.2 MB, free: 38.35 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1098, allocations: 59.6 MB / 0.5038 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.Orifice): time 0.5288/0.6387, allocations: 173.8 MB / 0.6735 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004122/0.6429, allocations: 2.238 MB / 0.6757 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006038/0.6435, allocations: 14.66 kB / 0.6757 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009685/0.6445, allocations: 309.8 kB / 0.676 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.6464, allocations: 0.7965 MB / 0.6768 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.6486, allocations: 0.9001 MB / 0.6776 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001437/0.65, allocations: 1.308 MB / 0.6789 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005547/0.6506, allocations: 409.1 kB / 0.6793 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.6517, allocations: 0.6454 MB / 0.6799 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.6523, allocations: 419.1 kB / 0.6803 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.605e-05/0.6523, allocations: 54.72 kB / 0.6804 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.6538, allocations: 0.7671 MB / 0.6811 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.654, allocations: 225.6 kB / 0.6813 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000377/0.6544, allocations: 332 kB / 0.6817 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.656, allocations: 1.087 MB / 0.6827 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.656, allocations: 0 / 0.6827 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.656, allocations: 4 kB / 0.6827 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.656, allocations: 0 / 0.6827 GB, free: 15.69 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.001703/0.6577, allocations: 0.9347 MB / 0.6836 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.6578, allocations: 8.5 kB / 0.6836 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.6591, allocations: 176.7 kB / 0.6838 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007257/0.6598, allocations: 436.8 kB / 0.6842 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.6599, allocations: 33.72 kB / 0.6843 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.6599, allocations: 43.97 kB / 0.6843 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007612/0.6607, allocations: 0.5083 MB / 0.6848 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.6607, allocations: 2.969 kB / 0.6848 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/0.6608, allocations: 21.12 kB / 0.6848 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.6608, allocations: 10.22 kB / 0.6848 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000619/0.6614, allocations: 378 kB / 0.6852 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.6637, allocations: 1.89 MB / 0.687 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.6642, allocations: 244.8 kB / 0.6873 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.6644, allocations: 119.3 kB / 0.6874 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007742/0.6652, allocations: 0.6895 MB / 0.6881 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.6652, allocations: 45.22 kB / 0.6881 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.6652, allocations: 0 / 0.6881 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26): time 0.0007863/0.666, allocations: 369.2 kB / 0.6885 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.6661, allocations: 63.12 kB / 0.6885 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/0.6666, allocations: 0.5129 MB / 0.689 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.6666, allocations: 33.02 kB / 0.6891 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.6668, allocations: 270.3 kB / 0.6893 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.6669, allocations: 93.78 kB / 0.6894 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-05/0.667, allocations: 66.95 kB / 0.6895 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.6671, allocations: 360 kB / 0.6898 GB, free: 12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.6673, allocations: 101.1 kB / 0.6899 GB, free: 12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.6676, allocations: 170.7 kB / 0.6901 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.668, allocations: 288.3 kB / 0.6903 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.668, allocations: 2 kB / 0.6903 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005852/0.6686, allocations: 366.1 kB / 0.6907 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.6687, allocations: 6.438 kB / 0.6907 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6687, allocations: 4.156 kB / 0.6907 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.6687, allocations: 7.406 kB / 0.6907 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.669, allocations: 76.52 kB / 0.6908 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.669, allocations: 5.094 kB / 0.6908 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.6693, allocations: 48.75 kB / 0.6908 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.6694, allocations: 14.19 kB / 0.6908 GB, free: 11.76 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.0001861/0.6696, allocations: 179 kB / 0.691 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.021e-05/0.6697, allocations: 52.31 kB / 0.6911 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005707/0.6702, allocations: 329.3 kB / 0.6914 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.6703, allocations: 7.312 kB / 0.6914 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6703, allocations: 1.875 kB / 0.6914 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.6703, allocations: 0 / 0.6914 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.6715, allocations: 0.8851 MB / 0.6923 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6716, allocations: 4.797 kB / 0.6923 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.6718, allocations: 55.33 kB / 0.6923 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.6718, allocations: 2.094 kB / 0.6923 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.6719, allocations: 8.906 kB / 0.6923 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.6719, allocations: 2.484 kB / 0.6923 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6719, allocations: 3.594 kB / 0.6923 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008598/0.6727, allocations: 0.5664 MB / 0.6929 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.673, allocations: 170.1 kB / 0.693 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.6731, allocations: 7.031 kB / 0.693 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.6734, allocations: 17.61 kB / 0.6931 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.6735, allocations: 22.95 kB / 0.6931 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.6736, allocations: 20.14 kB / 0.6931 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003607/0.6739, allocations: 378.1 kB / 0.6935 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6739, allocations: 0 / 0.6935 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005499/0.6745, allocations: 155.9 kB / 0.6936 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.0004633/0.675, allocations: 178.5 kB / 0.6938 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005378/0.6755, allocations: 262.5 kB / 0.694 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.6755, allocations: 5.266 kB / 0.694 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.6758, allocations: 132 kB / 0.6942 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.6772, allocations: 301.2 kB / 0.6945 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.6789, allocations: 1.04 MB / 0.6955 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.6795, allocations: 0.8624 MB / 0.6963 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004169/0.6799, allocations: 108.8 kB / 0.6964 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.353e-05/0.68, allocations: 39.2 kB / 0.6965 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of SimCode: time 8.21e-07/0.68, allocations: 0 / 0.6965 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.01818/0.6982, allocations: 10.53 MB / 0.7067 GB, free: 4.809 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)