Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.SimpleReaction.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.0009304/0.0009304, allocations: 92.22 kB / 19.65 MB, free: 276 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.001139/0.001139, allocations: 173 kB / 23.03 MB, free: 1.539 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.054/1.054, allocations: 177.1 MB / 203.4 MB, free: 5.578 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.09208/0.09208, allocations: 17.46 MB / 277.4 MB, free: 11.58 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction") translateModel(Chemical.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 353.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.245e-05, allocations: 4.844 kB / 353.5 MB, free: 10.93 MB / 330.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.SimpleReaction): time 0.04043/0.04047, allocations: 33.3 MB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.0533, allocations: 10.38 MB / 397.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.05515, allocations: 59.5 kB / 397.3 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00427/0.05942, allocations: 1.869 MB / 399.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.06293, allocations: 1.257 MB / 400.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006645/0.06958, allocations: 4.158 MB / 404.5 MB, free: 7.914 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1332:3-1332:55:writable] Warning: Parameter r.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.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.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.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.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.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.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.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.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.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.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.003945/0.07352, allocations: 2.664 MB / 407.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006743/0.0742, allocations: 432.2 kB / 407.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00219/0.07639, allocations: 1.462 MB / 409.1 MB, free: 3.309 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.07817, allocations: 1.13 MB / 410.2 MB, free: 2.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000594/0.07877, allocations: 216 kB / 410.4 MB, free: 1.965 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004465/0.08323, allocations: 1.957 MB / 412.4 MB, free: 4 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006427/0.08387, allocations: 0.7749 MB / 413.2 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.08506, allocations: 0.8065 MB / 414 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007304/0.09237, allocations: 3.921 MB / 417.9 MB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.09237, allocations: 0 / 417.9 MB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09237, allocations: 4 kB / 417.9 MB, free: 10.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001246/0.0925, allocations: 0 / 417.9 MB, free: 10.48 MB / 394.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.004992/0.09749, allocations: 3.458 MB / 421.4 MB, free: 6.973 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.09755, allocations: 8.031 kB / 421.4 MB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.09953, allocations: 1.248 MB / 422.6 MB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.1011, allocations: 1.439 MB / 424.1 MB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.1014, allocations: 382.1 kB / 424.4 MB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.1015, allocations: 204.3 kB / 424.6 MB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003265/0.1048, allocations: 3.023 MB / 427.6 MB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.1048, allocations: 192 / 427.6 MB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.1049, allocations: 84.11 kB / 427.7 MB, free: 472 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000218/0.1052, allocations: 296.6 kB / 428 MB, free: 172 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003958/0.1091, allocations: 3.801 MB / 431.8 MB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.1215, allocations: 11.48 MB / 443.3 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1998/0.3213, allocations: 1.083 MB / 444.4 MB, free: 98.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.3228, allocations: 0.7418 MB / 445.1 MB, free: 98.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009114/0.3319, allocations: 8.474 MB / 453.6 MB, free: 96.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3319, allocations: 44.7 kB / 453.6 MB, free: 96.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 3.486e-06/0.3319, allocations: 0.5 kB / 453.6 MB, free: 96.6 MB / 410.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.4097675513476133]