Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.SimpleReaction2.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.0014/0.0014, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001575/0.001575, allocations: 170 kB / 23.27 MB, free: 1.219 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 0.9648/0.9648, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.08651/0.08651, allocations: 17.45 MB / 277.7 MB, free: 11.39 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction2") translateModel(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 354 MB, free: 9.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.627e-05, allocations: 6.25 kB / 354 MB, free: 9.582 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1343:7-1343: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/Boundaries.mo:1343:7-1343: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361:76: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/Boundaries.mo:1361:7-1361:76: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. Notification: Performance of NFInst.instantiate(Chemical.Examples.SimpleReaction2): time 0.04007/0.0401, allocations: 35.81 MB / 389.8 MB, free: 5.879 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.05297, allocations: 10.88 MB / 400.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.05478, allocations: 83.31 kB / 400.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003641/0.05842, allocations: 1.985 MB / 402.7 MB, free: 8.875 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003578/0.062, allocations: 1.532 MB / 404.3 MB, free: 7.332 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005458/0.06746, allocations: 4.274 MB / 408.6 MB, free: 3.039 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1332:3-1332:55:writable] Warning: Parameter reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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.1682/0.2357, allocations: 3.618 MB / 412.2 MB, free: 35.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000964/0.2367, allocations: 0.544 MB / 412.7 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.24, allocations: 2.052 MB / 414.8 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003142/0.2432, allocations: 1.62 MB / 416.4 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.2443, allocations: 314.2 kB / 416.7 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005539/0.2498, allocations: 2.05 MB / 418.7 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.2509, allocations: 1.089 MB / 419.8 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002375/0.2533, allocations: 1.144 MB / 421 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008052/0.2613, allocations: 4.849 MB / 425.8 MB, free: 35.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2613, allocations: 0 / 425.8 MB, free: 35.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2613, allocations: 0 / 425.8 MB, free: 35.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001529/0.2615, allocations: 0 / 425.8 MB, free: 35.02 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: 960 * Number of variables: 960 Notification: Performance of Generate backend data structure: time 0.007314/0.2688, allocations: 4.607 MB / 430.4 MB, free: 32.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.2689, allocations: 9.625 kB / 430.4 MB, free: 32.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/0.2719, allocations: 1.705 MB / 432.1 MB, free: 31.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/0.2749, allocations: 1.939 MB / 434.1 MB, free: 30.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003403/0.2752, allocations: 0.5065 MB / 434.6 MB, free: 30.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004152/0.2756, allocations: 290.1 kB / 434.9 MB, free: 30.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00563/0.2813, allocations: 3.756 MB / 438.6 MB, free: 29.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.2813, allocations: 192 / 438.6 MB, free: 29.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/0.2815, allocations: 117.1 kB / 438.7 MB, free: 29.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003682/0.2819, allocations: 474.2 kB / 439.2 MB, free: 28.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003999/0.2859, allocations: 4.506 MB / 443.7 MB, free: 24.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/0.3007, allocations: 14.86 MB / 458.6 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.302, allocations: 1.141 MB / 459.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/0.3027, allocations: 0.7516 MB / 460.5 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009352/0.312, allocations: 9.715 MB / 470.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.312, allocations: 53.55 kB / 470.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=188): time 4.398e-06/0.312, allocations: 0 / 470.2 MB, free: 14.5 MB / 346.7 MB Error: Internal error It is not possible to select continuous time states because Number of Equations 58 greater than number of States 57 to select from. Error: Internal error Selection of DummyDerivatives failed due to negative system rank of -1! There are 31 unassigned equations and 30 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.041170238982886]