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.0009922/0.0009922, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001028/0.001028, allocations: 169 kB / 23.27 MB, free: 1.223 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.015/1.015, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.09694/0.09694, allocations: 17.47 MB / 277.7 MB, free: 11.41 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 2.104e-06/2.104e-06, allocations: 0 / 354 MB, free: 9.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/3.003e-05, allocations: 6.25 kB / 354 MB, free: 9.602 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.03208/0.03211, allocations: 33.14 MB / 387.1 MB, free: 8.578 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.04443, allocations: 10.25 MB / 397.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.04602, allocations: 67.44 kB / 397.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003519/0.04954, allocations: 1.853 MB / 399.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.05252, allocations: 1.257 MB / 400.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005861/0.05838, allocations: 4.099 MB / 404.6 MB, free: 6.977 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.003648/0.06203, allocations: 2.672 MB / 407.3 MB, free: 4.297 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007014/0.06273, allocations: 432.2 kB / 407.7 MB, free: 3.832 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.06478, allocations: 1.462 MB / 409.2 MB, free: 2.367 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.06617, allocations: 1.138 MB / 410.3 MB, free: 1.227 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003923/0.06657, allocations: 216 kB / 410.5 MB, free: 1.016 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1418/0.2083, allocations: 1.949 MB / 412.5 MB, free: 38.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009546/0.2093, allocations: 0.7753 MB / 413.3 MB, free: 38.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002024/0.2113, allocations: 0.8158 MB / 414.1 MB, free: 38.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007209/0.2185, allocations: 3.916 MB / 418 MB, free: 38.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2185, allocations: 0 / 418 MB, free: 38.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2185, allocations: 0 / 418 MB, free: 38.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001422/0.2187, allocations: 1.125 kB / 418 MB, free: 38.65 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.007162/0.2258, allocations: 3.471 MB / 421.5 MB, free: 37.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2259, allocations: 9.031 kB / 421.5 MB, free: 37.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002396/0.2283, allocations: 1.243 MB / 422.7 MB, free: 36.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.2303, allocations: 1.416 MB / 424.1 MB, free: 36.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.2305, allocations: 382.2 kB / 424.5 MB, free: 36.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.2307, allocations: 210.9 kB / 424.7 MB, free: 36.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/0.2337, allocations: 2.557 MB / 427.3 MB, free: 35.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.2337, allocations: 192 / 427.3 MB, free: 35.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.2338, allocations: 79.62 kB / 427.4 MB, free: 35.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.234, allocations: 299.8 kB / 427.7 MB, free: 35.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/0.2368, allocations: 3.003 MB / 430.7 MB, free: 35.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.2484, allocations: 10.86 MB / 441.5 MB, free: 28.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.2495, allocations: 0.956 MB / 442.5 MB, free: 27.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/0.2501, allocations: 0.6193 MB / 443.1 MB, free: 26.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007192/0.2573, allocations: 8.319 MB / 451.4 MB, free: 18.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.2573, allocations: 53.75 kB / 451.5 MB, free: 18.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=151): time 3.376e-06/0.2573, allocations: 0 / 451.5 MB, free: 18.61 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.1526660858653486]