Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.SimpleReactionsWithJunction3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1469/0.1469, allocations: 17.45 MB / 277 MB, free: 11.46 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.SimpleReactionsWithJunction3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReactionsWithJunction3") translateModel(Chemical.Examples.SimpleReactionsWithJunction3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReactionsWithJunction3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 352.8 MB, free: 10.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.069e-05/4.239e-05, allocations: 6.25 kB / 352.8 MB, free: 10.23 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Processes.mo:1084:7-1084:40:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Processes.mo:1084:7-1084:40:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1731:7-1731:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1731:7-1731:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.SimpleReactionsWithJunction3): time 0.04818/0.04822, allocations: 30.92 MB / 383.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02013/0.06834, allocations: 10.32 MB / 394 MB, free: 1.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.07034, allocations: 63.5 kB / 394.1 MB, free: 1.008 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005481/0.07582, allocations: 1.861 MB / 396 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00451/0.08033, allocations: 1.253 MB / 397.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009564/0.08989, allocations: 4.142 MB / 401.4 MB, free: 9.715 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1332:3-1332:55:writable] Warning: Parameter r_ref.nextProducts[1].data.MM has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1333:3-1333:87:writable] Warning: Parameter r_ref.nextProducts[1].data.Hf has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1334:3-1334:81:writable] Warning: Parameter r_ref.nextProducts[1].data.H0 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1336:3-1336:82:writable] Warning: Parameter r_ref.nextProducts[1].data.alow has no value, and is fixed during initialization (fixed=true), using available start value (start=fill(0.0, 7)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1337:3-1337:79:writable] Warning: Parameter r_ref.nextProducts[1].data.blow has no value, and is fixed during initialization (fixed=true), using available start value (start=fill(0.0, 3)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1338:3-1338:84:writable] Warning: Parameter r_ref.nextProducts[1].data.ahigh has no value, and is fixed during initialization (fixed=true), using available start value (start=fill(0.0, 7)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1339:3-1339:81:writable] Warning: Parameter r_ref.nextProducts[1].data.bhigh has no value, and is fixed during initialization (fixed=true), using available start value (start=fill(0.0, 3)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1341:3-1342:83:writable] Warning: Parameter r_ref.nextProducts[1].data.z has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1344:3-1344:89:writable] Warning: Parameter r_ref.nextProducts[1].data.phase has no value, and is fixed during initialization (fixed=true), using available start value (start=Chemical.Interfaces.Phase.Gas) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1347:3-1347:140:writable] Warning: Parameter r_ref.nextProducts[1].data.VmBase has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1348:3-1348:137:writable] Warning: Parameter r_ref.nextProducts[1].data.VmExcess has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.005455/0.09535, allocations: 2.668 MB / 404 MB, free: 7.035 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009656/0.09631, allocations: 428.2 kB / 404.4 MB, free: 6.574 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00264/0.09895, allocations: 1.45 MB / 405.9 MB, free: 5.121 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.1011, allocations: 1.134 MB / 407 MB, free: 3.984 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.1015, allocations: 223.9 kB / 407.2 MB, free: 3.766 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005613/0.1071, allocations: 1.953 MB / 409.2 MB, free: 1.809 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009652/0.1081, allocations: 0.7865 MB / 410 MB, free: 1.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.1095, allocations: 0.8104 MB / 410.8 MB, free: 212 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1924/0.3019, allocations: 4.915 MB / 415.7 MB, free: 37.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.3019, allocations: 1.406 kB / 415.7 MB, free: 37.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3019, allocations: 0 / 415.7 MB, free: 37.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001302/0.3021, allocations: 3.625 kB / 415.7 MB, free: 37.5 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 662 * Number of variables: 662 Notification: Performance of Generate backend data structure: time 0.008361/0.3104, allocations: 3.628 MB / 419.3 MB, free: 36.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3105, allocations: 9.531 kB / 419.4 MB, free: 36.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.3138, allocations: 1.244 MB / 420.6 MB, free: 35.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/0.3166, allocations: 1.446 MB / 422 MB, free: 35.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000291/0.3169, allocations: 380.2 kB / 422.4 MB, free: 35.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003326/0.3172, allocations: 209.3 kB / 422.6 MB, free: 35.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00616/0.3234, allocations: 3.398 MB / 426 MB, free: 34.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.3234, allocations: 3.094 kB / 426 MB, free: 34.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.3236, allocations: 80.55 kB / 426.1 MB, free: 34.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003509/0.3239, allocations: 305 kB / 426.4 MB, free: 34.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007058/0.331, allocations: 6.122 MB / 432.5 MB, free: 33.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02326/0.3543, allocations: 14.7 MB / 447.2 MB, free: 20.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.3566, allocations: 1.545 MB / 448.8 MB, free: 19.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.3582, allocations: 1.154 MB / 449.9 MB, free: 17.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01359/0.3718, allocations: 9.529 MB / 459.4 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.3718, allocations: 46.39 kB / 459.5 MB, free: 8.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=151): time 3.136e-06/0.3718, allocations: 3.281 kB / 459.5 MB, free: 8.332 MB / 330.7 MB Error: Internal error It is not possible to select continuous time states because Number of Equations 51 greater than number of States 50 to select from. Error: Internal error Selection of DummyDerivatives failed due to negative system rank of -1! There are 30 unassigned equations and 29 potential states. Error: Internal error - IndexReduction.selectDummyDerivatives2new failed! Error: Internal error - IndexReduction.processComps4New failed! Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8315757449017838]