Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 104.2 kB / 16.4 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 191.7 kB / 19.35 MB, free: 3.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.1 MB / 227.2 MB, free: 12.15 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3134/0.3134, allocations: 54.96 MB / 331.6 MB, free: 2.758 MB / 270.1 MB " [Timeout remaining time 179] 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.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "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.002221/0.002221, allocations: 80.67 kB / 464.9 MB, free: 356 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1602, allocations: 59.6 MB / 0.5122 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6301/0.7904, allocations: 193.9 MB / 0.7015 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.8011, allocations: 5.474 MB / 0.7069 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.8027, allocations: 39.75 kB / 0.7069 GB, free: 8.195 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002776/0.8055, allocations: 0.9437 MB / 0.7078 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00554/0.8111, allocations: 1.979 MB / 0.7098 GB, free: 5.258 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003626/0.8147, allocations: 1.41 MB / 0.7111 GB, free: 3.863 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005477/0.8202, allocations: 3.832 MB / 0.7149 GB, free: 24 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.8225, allocations: 1.131 MB / 0.716 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/0.8267, allocations: 1.624 MB / 0.7176 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00262/0.8294, allocations: 1.16 MB / 0.7187 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005697/0.83, allocations: 156 kB / 0.7189 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.8333, allocations: 1.396 MB / 0.7202 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009568/0.8343, allocations: 0.5298 MB / 0.7207 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.8361, allocations: 0.8595 MB / 0.7216 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005759/0.8419, allocations: 2.954 MB / 0.7245 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8419, allocations: 0 / 0.7245 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8419, allocations: 0 / 0.7245 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.824e-05/0.842, allocations: 0 / 0.7245 GB, free: 6.215 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.006375/0.8484, allocations: 2.025 MB / 0.7264 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.8485, allocations: 12.03 kB / 0.7265 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.8518, allocations: 0.5571 MB / 0.727 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.8546, allocations: 1.16 MB / 0.7281 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.8547, allocations: 86.06 kB / 0.7282 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002706/0.855, allocations: 104 kB / 0.7283 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00418/0.8592, allocations: 1.72 MB / 0.73 GB, free: 340 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.8592, allocations: 4 kB / 0.73 GB, free: 336 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/0.8594, allocations: 51.98 kB / 0.73 GB, free: 284 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.919e-05/0.8595, allocations: 53.92 kB / 0.7301 GB, free: 232 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004129/0.8636, allocations: 1.596 MB / 0.7317 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009718/0.8734, allocations: 6.1 MB / 0.7376 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.8752, allocations: 0.6444 MB / 0.7382 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008253/0.8761, allocations: 369.9 kB / 0.7386 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/0.8761, allocations: 8.359 kB / 0.7386 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/0.8776, allocations: 0.75 MB / 0.7393 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=51): time 5.541e-06/0.8777, allocations: 0 / 0.7393 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=51): time 0.003071/0.8808, allocations: 1.2 MB / 0.7405 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005171/0.8813, allocations: 0.9231 MB / 0.7414 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/0.8843, allocations: 1.587 MB / 0.743 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.8844, allocations: 37.7 kB / 0.743 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006982/0.8851, allocations: 0.6541 MB / 0.7436 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.8854, allocations: 182.5 kB / 0.7438 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005325/0.8859, allocations: 246.4 kB / 0.744 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.8861, allocations: 341.9 kB / 0.7444 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.8875, allocations: 0.4938 MB / 0.7449 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/0.8895, allocations: 1.019 MB / 0.7458 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002626/0.8922, allocations: 1.219 MB / 0.747 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.8922, allocations: 7.938 kB / 0.747 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003917/0.8961, allocations: 1.511 MB / 0.7485 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.003e-05/0.8962, allocations: 37.7 kB / 0.7486 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.8962, allocations: 8 kB / 0.7486 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.099e-05/0.8962, allocations: 15.98 kB / 0.7486 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.8974, allocations: 259.9 kB / 0.7488 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-05/0.8975, allocations: 23.94 kB / 0.7488 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/0.8997, allocations: 326.5 kB / 0.7492 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.8998, allocations: 43.98 kB / 0.7492 GB, free: 11.68 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 1 * 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.0008261/0.9007, allocations: 419.7 kB / 0.7496 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/0.9011, allocations: 159.1 kB / 0.7498 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/0.9016, allocations: 145.5 kB / 0.7499 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.9016, allocations: 4 kB / 0.7499 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.9016, allocations: 8 kB / 0.7499 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.9016, allocations: 3.984 kB / 0.7499 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005645/0.9073, allocations: 3.319 MB / 0.7531 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.9073, allocations: 7.938 kB / 0.7532 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.9079, allocations: 116.3 kB / 0.7533 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/0.9079, allocations: 8 kB / 0.7533 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/0.908, allocations: 27.92 kB / 0.7533 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/0.908, allocations: 8 kB / 0.7533 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/0.908, allocations: 11.94 kB / 0.7533 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/0.9105, allocations: 1.223 MB / 0.7545 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009101/0.9114, allocations: 395.8 kB / 0.7549 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/0.9118, allocations: 27.98 kB / 0.7549 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.9133, allocations: 119.8 kB / 0.755 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.9134, allocations: 55.77 kB / 0.7551 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/0.9135, allocations: 31.98 kB / 0.7551 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002173/0.9157, allocations: 1.111 MB / 0.7562 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9157, allocations: 0 / 0.7562 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001415/0.9171, allocations: 371.8 kB / 0.7566 GB, free: 3.82 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0005802/0.9177, allocations: 224.2 kB / 0.7568 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002748/0.9205, allocations: 1.141 MB / 0.7579 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.9205, allocations: 4 kB / 0.7579 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009298/0.9214, allocations: 489.3 kB / 0.7584 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/0.9249, allocations: 0.7979 MB / 0.7591 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2856/1.211, allocations: 2.327 MB / 0.7614 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.212, allocations: 1.161 MB / 0.7625 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002055/1.214, allocations: 339.6 kB / 0.7629 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/1.214, allocations: 103.3 kB / 0.763 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of SimCode: time 7.91e-07/1.214, allocations: 0 / 0.763 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.06679/1.281, allocations: 30.51 MB / 0.7928 GB, free: 198.8 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0637896889820695]