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.0008982/0.0008982, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009912/0.0009912, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9991/0.9991, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.09147/0.09147, allocations: 17.45 MB / 277.4 MB, free: 11.55 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.212e-06/1.212e-06, allocations: 0 / 353.5 MB, free: 9.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.365e-05, allocations: 2.312 kB / 353.5 MB, free: 9.844 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.02928/0.02929, allocations: 36.01 MB / 389.5 MB, free: 5.949 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.04232, allocations: 11.02 MB / 400.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.04336, allocations: 83.31 kB / 400.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003166/0.04653, allocations: 1.997 MB / 402.6 MB, free: 8.793 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.04879, allocations: 1.54 MB / 404.2 MB, free: 7.242 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005024/0.05381, allocations: 4.321 MB / 408.5 MB, free: 2.902 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.1311/0.1849, allocations: 3.621 MB / 412.1 MB, free: 36.15 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.1859, allocations: 0.5478 MB / 412.7 MB, free: 36.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.1887, allocations: 2.051 MB / 414.7 MB, free: 36.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002426/0.1911, allocations: 1.628 MB / 416.4 MB, free: 36.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006565/0.1918, allocations: 313.2 kB / 416.7 MB, free: 36.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00416/0.1959, allocations: 2.054 MB / 418.7 MB, free: 36.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007452/0.1967, allocations: 1.096 MB / 419.8 MB, free: 36.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.1983, allocations: 1.15 MB / 421 MB, free: 35.97 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004921/0.2033, allocations: 4.849 MB / 425.8 MB, free: 35.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2033, allocations: 0 / 425.8 MB, free: 35.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2033, allocations: 0 / 425.8 MB, free: 35.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.187e-05/0.2033, allocations: 0 / 425.8 MB, free: 35.07 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.005342/0.2086, allocations: 4.708 MB / 430.5 MB, free: 32.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.2087, allocations: 11.53 kB / 430.5 MB, free: 32.42 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/0.211, allocations: 1.707 MB / 432.2 MB, free: 31.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.2125, allocations: 1.968 MB / 434.2 MB, free: 30.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.2127, allocations: 0.503 MB / 434.7 MB, free: 30.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/0.2129, allocations: 298.1 kB / 435 MB, free: 30.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003776/0.2167, allocations: 4.439 MB / 439.4 MB, free: 28.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.2167, allocations: 3.375 kB / 439.4 MB, free: 28.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.2168, allocations: 125 kB / 439.6 MB, free: 28.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002339/0.2171, allocations: 471.5 kB / 440 MB, free: 28.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004893/0.222, allocations: 5.705 MB / 445.7 MB, free: 22.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.2343, allocations: 15.73 MB / 461.5 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.2358, allocations: 1.301 MB / 462.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009922/0.2368, allocations: 0.8873 MB / 463.6 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009198/0.246, allocations: 9.892 MB / 473.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.2461, allocations: 50.64 kB / 473.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=188): time 2.925e-06/0.2461, allocations: 0 / 473.6 MB, free: 10.78 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: 1.9626817340031266]