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.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00128/0.00128, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.384/1.384, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.5155/0.5155, allocations: 54.93 MB / 324.3 MB, free: 144 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.001447/0.001447, allocations: 59.91 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.124, allocations: 59.59 MB / 454.2 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.Orifice): time 0.3691/0.4931, allocations: 171.6 MB / 0.6111 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004023/0.4972, allocations: 2.247 MB / 0.6133 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003805/0.4976, allocations: 11.94 kB / 0.6133 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008999/0.4986, allocations: 270.6 kB / 0.6136 GB, free: 9.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.5, allocations: 0.7545 MB / 0.6143 GB, free: 9.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.5021, allocations: 0.8251 MB / 0.6151 GB, free: 8.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.5036, allocations: 1.821 MB / 0.6169 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004573/0.5041, allocations: 349 kB / 0.6173 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008573/0.5049, allocations: 0.5797 MB / 0.6178 GB, free: 5.477 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004659/0.5054, allocations: 442.2 kB / 0.6182 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/0.5055, allocations: 28 kB / 0.6183 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.5068, allocations: 0.869 MB / 0.6191 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.507, allocations: 204.9 kB / 0.6193 GB, free: 3.945 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002921/0.5073, allocations: 310.5 kB / 0.6196 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.5085, allocations: 1.106 MB / 0.6207 GB, free: 2.531 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5085, allocations: 0 / 0.6207 GB, free: 2.531 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.5085, allocations: 0 / 0.6207 GB, free: 2.531 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.5085, allocations: 0 / 0.6207 GB, free: 2.531 MB / 494.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.001543/0.5101, allocations: 0.9282 MB / 0.6216 GB, free: 1.559 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5101, allocations: 12.03 kB / 0.6216 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.5114, allocations: 179.1 kB / 0.6218 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.5119, allocations: 413.6 kB / 0.6222 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.512, allocations: 33 kB / 0.6222 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.512, allocations: 40 kB / 0.6222 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007992/0.5128, allocations: 0.5114 MB / 0.6227 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.5129, allocations: 7.906 kB / 0.6227 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.5129, allocations: 16 kB / 0.6228 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.513, allocations: 13.5 kB / 0.6228 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000682/0.5136, allocations: 383.7 kB / 0.6231 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.5159, allocations: 1.896 MB / 0.625 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.5163, allocations: 239.2 kB / 0.6252 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.5166, allocations: 118.2 kB / 0.6253 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007354/0.5173, allocations: 0.6882 MB / 0.626 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.5173, allocations: 38.56 kB / 0.626 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 1.373e-06/0.5173, allocations: 0 / 0.626 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.000763/0.5181, allocations: 378.3 kB / 0.6264 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.5182, allocations: 55.41 kB / 0.6265 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/0.5187, allocations: 0.5176 MB / 0.627 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.5187, allocations: 33.7 kB / 0.627 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.5189, allocations: 260.1 kB / 0.6272 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.387e-05/0.519, allocations: 94.64 kB / 0.6273 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.5191, allocations: 66.03 kB / 0.6274 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5192, allocations: 359.4 kB / 0.6277 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.5194, allocations: 108.6 kB / 0.6278 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.5197, allocations: 164 kB / 0.628 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.5201, allocations: 288 kB / 0.6283 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5201, allocations: 4 kB / 0.6283 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00063/0.5208, allocations: 378.6 kB / 0.6286 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.5208, allocations: 4.781 kB / 0.6286 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5208, allocations: 4.656 kB / 0.6286 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5208, allocations: 3.938 kB / 0.6287 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.5211, allocations: 71.91 kB / 0.6287 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.5212, allocations: 8.719 kB / 0.6287 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.5215, allocations: 63.44 kB / 0.6288 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.5215, allocations: 12 kB / 0.6288 GB, free: 9.699 MB / 0.4981 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.0001836/0.5217, allocations: 181.8 kB / 0.629 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.988e-05/0.5218, allocations: 56.47 kB / 0.629 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/0.5224, allocations: 328.7 kB / 0.6293 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5224, allocations: 3.938 kB / 0.6293 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5225, allocations: 0 / 0.6293 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5225, allocations: 4 kB / 0.6293 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.5237, allocations: 0.8881 MB / 0.6302 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5238, allocations: 4 kB / 0.6302 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.524, allocations: 47.97 kB / 0.6303 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.524, allocations: 4 kB / 0.6303 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.5241, allocations: 8 kB / 0.6303 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5241, allocations: 8.125 kB / 0.6303 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5241, allocations: 4 kB / 0.6303 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008069/0.5249, allocations: 0.5579 MB / 0.6308 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.5251, allocations: 172.3 kB / 0.631 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.138e-05/0.5252, allocations: 8.75 kB / 0.631 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.5256, allocations: 31.97 kB / 0.631 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.5256, allocations: 15.92 kB / 0.6311 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.5257, allocations: 19.98 kB / 0.6311 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003868/0.5261, allocations: 378.8 kB / 0.6314 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5261, allocations: 0 / 0.6314 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005332/0.5266, allocations: 152 kB / 0.6316 GB, free: 6.723 MB / 0.4981 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.0004059/0.527, allocations: 174.5 kB / 0.6317 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005133/0.5276, allocations: 271.6 kB / 0.632 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.5276, allocations: 11.88 kB / 0.632 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.5278, allocations: 119.8 kB / 0.6321 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.5292, allocations: 293 kB / 0.6324 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.5309, allocations: 1.221 MB / 0.6336 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.5313, allocations: 0.8559 MB / 0.6344 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003895/0.5317, allocations: 103 kB / 0.6345 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.622e-05/0.5318, allocations: 43.42 kB / 0.6346 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.5318, allocations: 0 / 0.6346 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of Templates: time 0.2018/0.7336, allocations: 10.06 MB / 0.6444 GB, free: 161.3 MB / 0.4981 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)