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.001225/0.001225, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.00141/0.00141, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3911/0.3911, allocations: 54.98 MB / 325.3 MB, free: 0.8008 MB / 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.0008634/0.0008636, allocations: 16 kB / 396.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3124, allocations: 60.72 MB / 457.3 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.Orifice): time 0.1646/0.477, allocations: 145.2 MB / 0.5884 GB, free: 6.117 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004048/0.4811, allocations: 2.263 MB / 0.5906 GB, free: 3.859 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003661/0.4815, allocations: 11.94 kB / 0.5906 GB, free: 3.848 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007917/0.4823, allocations: 226.9 kB / 0.5908 GB, free: 3.625 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.4841, allocations: 0.6621 MB / 0.5915 GB, free: 2.961 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.4856, allocations: 0.5 MB / 0.5919 GB, free: 2.465 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.4867, allocations: 0.7422 MB / 0.5927 GB, free: 1.723 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004805/0.4872, allocations: 330.7 kB / 0.593 GB, free: 1.402 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.4885, allocations: 0.6192 MB / 0.5936 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.4888, allocations: 290.9 kB / 0.5939 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-05/0.4889, allocations: 24 kB / 0.5939 GB, free: 484 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008869/0.4898, allocations: 383.5 kB / 0.5943 GB, free: 100 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.49, allocations: 183.5 kB / 0.5944 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.4902, allocations: 141.4 kB / 0.5946 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008122/0.491, allocations: 0.6714 MB / 0.5952 GB, free: 15.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.491, allocations: 0 / 0.5952 GB, free: 15.11 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.491, allocations: 0 / 0.5952 GB, free: 15.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.4911, allocations: 0 / 0.5952 GB, free: 15.11 MB / 478.1 MB 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.001574/0.4926, allocations: 0.8218 MB / 0.596 GB, free: 14.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4927, allocations: 8.781 kB / 0.596 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.494, allocations: 183.1 kB / 0.5962 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006515/0.4947, allocations: 409.8 kB / 0.5966 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.4947, allocations: 29 kB / 0.5966 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.056e-05/0.4948, allocations: 44 kB / 0.5967 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008256/0.4956, allocations: 0.5075 MB / 0.5972 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.4956, allocations: 4 kB / 0.5972 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.4957, allocations: 20.56 kB / 0.5972 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.4957, allocations: 12 kB / 0.5972 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007731/0.4965, allocations: 387.7 kB / 0.5976 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.499, allocations: 1.892 MB / 0.5994 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.4995, allocations: 247.2 kB / 0.5997 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008189/0.5004, allocations: 0.7046 MB / 0.6003 GB, free: 9.453 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.5004, allocations: 43.38 kB / 0.6004 GB, free: 9.402 MB / 478.1 MB Notification: Performance of pre-optimization done (n=26): time 1.904e-06/0.5004, allocations: 0 / 0.6004 GB, free: 9.402 MB / 478.1 MB Notification: Performance of matching and sorting (n=26): time 0.0008278/0.5013, allocations: 383.7 kB / 0.6007 GB, free: 9.023 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.5013, allocations: 63.41 kB / 0.6008 GB, free: 8.949 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006062/0.5019, allocations: 0.5137 MB / 0.6013 GB, free: 8.422 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.502, allocations: 33.7 kB / 0.6013 GB, free: 8.383 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.5022, allocations: 260.1 kB / 0.6016 GB, free: 8.125 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.382e-05/0.5023, allocations: 91.41 kB / 0.6017 GB, free: 8.035 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.5023, allocations: 8 kB / 0.6017 GB, free: 8.027 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5025, allocations: 358.8 kB / 0.602 GB, free: 7.668 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.5027, allocations: 108.6 kB / 0.6021 GB, free: 7.562 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.503, allocations: 172 kB / 0.6023 GB, free: 7.371 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.5033, allocations: 137.1 kB / 0.6024 GB, free: 7.238 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5033, allocations: 0 / 0.6024 GB, free: 7.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006674/0.504, allocations: 380.8 kB / 0.6028 GB, free: 6.863 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.504, allocations: 7.938 kB / 0.6028 GB, free: 6.855 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.504, allocations: 4 kB / 0.6028 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.504, allocations: 4 kB / 0.6028 GB, free: 6.848 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.5044, allocations: 73.05 kB / 0.6029 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.5044, allocations: 8 kB / 0.6029 GB, free: 6.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.5048, allocations: 67.36 kB / 0.6029 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.5048, allocations: 8 kB / 0.603 GB, free: 6.695 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.505, allocations: 192.5 kB / 0.6031 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.5051, allocations: 55.39 kB / 0.6032 GB, free: 6.445 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006487/0.5057, allocations: 333.6 kB / 0.6035 GB, free: 6.117 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.5058, allocations: 7.938 kB / 0.6035 GB, free: 6.109 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5058, allocations: 0 / 0.6035 GB, free: 6.109 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5058, allocations: 7.984 kB / 0.6035 GB, free: 6.102 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.5072, allocations: 0.8895 MB / 0.6044 GB, free: 5.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5072, allocations: 0 / 0.6044 GB, free: 5.137 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.5075, allocations: 55.91 kB / 0.6044 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.5075, allocations: 4 kB / 0.6044 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.5076, allocations: 8.562 kB / 0.6045 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.5076, allocations: 4 kB / 0.6045 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5076, allocations: 3.938 kB / 0.6045 GB, free: 5.062 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009014/0.5085, allocations: 0.6388 MB / 0.6051 GB, free: 4.352 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.5087, allocations: 176.4 kB / 0.6053 GB, free: 4.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/0.5088, allocations: 8.797 kB / 0.6053 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.5092, allocations: 27.98 kB / 0.6053 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.5093, allocations: 23.91 kB / 0.6053 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.5093, allocations: 19.98 kB / 0.6053 GB, free: 4.082 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004074/0.5097, allocations: 378.8 kB / 0.6057 GB, free: 3.715 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5098, allocations: 0 / 0.6057 GB, free: 3.715 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005094/0.5103, allocations: 144 kB / 0.6058 GB, free: 3.574 MB / 478.1 MB 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 (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.0003689/0.5106, allocations: 184 kB / 0.606 GB, free: 3.395 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005465/0.5112, allocations: 267.7 kB / 0.6063 GB, free: 3.133 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5112, allocations: 0 / 0.6063 GB, free: 3.133 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002495/0.5115, allocations: 132.5 kB / 0.6064 GB, free: 3.004 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.5128, allocations: 282.5 kB / 0.6067 GB, free: 2.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.5146, allocations: 1.276 MB / 0.6079 GB, free: 1.422 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.5151, allocations: 0.8762 MB / 0.6088 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004092/0.5155, allocations: 107.2 kB / 0.6089 GB, free: 428 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.5156, allocations: 39.44 kB / 0.6089 GB, free: 388 kB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5156, allocations: 0 / 0.6089 GB, free: 388 kB / 478.1 MB Notification: Performance of Templates: time 0.01621/0.5318, allocations: 9.698 MB / 0.6184 GB, free: 6.832 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: