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.001403/0.001403, 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.001669/0.001669, 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.476/1.476, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.1393/0.1393, allocations: 17.45 MB / 277 MB, free: 11.57 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.784e-06/1.784e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.411e-05, allocations: 6.25 kB / 352.8 MB, free: 10.2 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.04729/0.04733, allocations: 32.13 MB / 384.9 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01994/0.06726, allocations: 10.11 MB / 395 MB, free: 40 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.06958, allocations: 87.42 kB / 395.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006186/0.07576, allocations: 1.927 MB / 397.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005169/0.08093, allocations: 1.536 MB / 398.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009031/0.08996, allocations: 4.095 MB / 402.7 MB, free: 8.355 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.006422/0.09638, allocations: 3.611 MB / 406.3 MB, free: 4.727 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.09763, allocations: 0.5428 MB / 406.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00408/0.1017, allocations: 2.054 MB / 408.9 MB, free: 2.078 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003569/0.1053, allocations: 1.617 MB / 410.5 MB, free: 468 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008093/0.1061, allocations: 316 kB / 410.8 MB, free: 152 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1321/0.2382, allocations: 2.042 MB / 412.9 MB, free: 37.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.2392, allocations: 1.1 MB / 414 MB, free: 37.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.2407, allocations: 1.146 MB / 415.1 MB, free: 37.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008153/0.2489, allocations: 6.267 MB / 421.4 MB, free: 36.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2489, allocations: 0 / 421.4 MB, free: 36.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2489, allocations: 0 / 421.4 MB, free: 36.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001076/0.249, allocations: 4.219 kB / 421.4 MB, free: 36.98 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.00866/0.2577, allocations: 4.332 MB / 425.7 MB, free: 35.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2577, allocations: 8.938 kB / 425.7 MB, free: 35.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.2611, allocations: 1.758 MB / 427.5 MB, free: 34.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.2638, allocations: 2.029 MB / 429.5 MB, free: 33.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.2641, allocations: 0.5062 MB / 430 MB, free: 33.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003811/0.2645, allocations: 294.8 kB / 430.3 MB, free: 32.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.2759, allocations: 11.94 MB / 442.2 MB, free: 25.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.695e-05/0.2759, allocations: 192 / 442.2 MB, free: 25.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002418/0.2762, allocations: 119.3 kB / 442.4 MB, free: 25.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003815/0.2766, allocations: 473.8 kB / 442.8 MB, free: 25.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/0.2925, allocations: 21.04 MB / 463.9 MB, free: 4.375 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03856/0.331, allocations: 20.78 MB / 484.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005197/0.3362, allocations: 2.764 MB / 487.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004293/0.3405, allocations: 2.26 MB / 489.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02399/0.3645, allocations: 12.84 MB / 0.4907 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.509e-05/0.3646, allocations: 43.88 kB / 0.4908 GB, free: 14.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=188): time 3.557e-06/0.3646, allocations: 2.625 kB / 0.4908 GB, free: 14.06 MB / 378.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.681329154991545]