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.001867/0.001867, allocations: 88.72 kB / 19.44 MB, free: 356 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.002378/0.002378, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.573/1.573, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.1443/0.1443, allocations: 17.45 MB / 277 MB, free: 11.61 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.234e-06/2.234e-06, allocations: 0 / 352.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.633e-05/4.856e-05, allocations: 9.203 kB / 352.8 MB, free: 10.24 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.SimpleReaction): time 0.07445/0.0745, allocations: 29.79 MB / 382.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03094/0.1054, allocations: 9.483 MB / 392.1 MB, free: 3.059 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/0.1081, allocations: 59.56 kB / 392.1 MB, free: 3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008685/0.1168, allocations: 1.807 MB / 393.9 MB, free: 1.184 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005705/0.1225, allocations: 1.245 MB / 395.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01036/0.1329, allocations: 3.92 MB / 399.1 MB, free: 11.99 MB / 330.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.005324/0.1382, allocations: 2.657 MB / 401.8 MB, free: 9.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.1393, allocations: 436.1 kB / 402.2 MB, free: 8.852 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00326/0.1426, allocations: 1.446 MB / 403.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/0.1453, allocations: 1.138 MB / 404.8 MB, free: 6.262 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006288/0.1459, allocations: 216 kB / 405 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005575/0.1515, allocations: 1.957 MB / 406.9 MB, free: 4.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.1528, allocations: 0.7865 MB / 407.7 MB, free: 3.301 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.1549, allocations: 0.8065 MB / 408.5 MB, free: 2.492 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1473/0.3022, allocations: 4.909 MB / 413.4 MB, free: 43.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3022, allocations: 1.703 kB / 413.4 MB, free: 43.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3022, allocations: 3 kB / 413.4 MB, free: 43.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.268e-05/0.3023, allocations: 0 / 413.4 MB, free: 43.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.007003/0.3093, allocations: 3.16 MB / 416.6 MB, free: 42.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3093, allocations: 9.625 kB / 416.6 MB, free: 42.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003236/0.3126, allocations: 1.314 MB / 417.9 MB, free: 41.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/0.3148, allocations: 1.467 MB / 419.4 MB, free: 41.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/0.3151, allocations: 384.7 kB / 419.8 MB, free: 41.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/0.3154, allocations: 206 kB / 420 MB, free: 41.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00909/0.3245, allocations: 8.011 MB / 428 MB, free: 38.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/0.3245, allocations: 192 / 428 MB, free: 38.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.3247, allocations: 85.62 kB / 428.1 MB, free: 38.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000289/0.325, allocations: 300.5 kB / 428.4 MB, free: 38.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.3364, allocations: 14.05 MB / 442.4 MB, free: 28.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02295/0.3593, allocations: 15.33 MB / 457.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.3626, allocations: 2.387 MB / 460.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00242/0.365, allocations: 1.979 MB / 462.1 MB, free: 9.566 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/0.3798, allocations: 11.17 MB / 473.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.3798, allocations: 46.25 kB / 473.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=151): time 3.036e-06/0.3798, allocations: 0 / 473.3 MB, free: 14.39 MB / 346.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.811689651105553]