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.001029/0.001029, allocations: 92.22 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.00119/0.00119, allocations: 173 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.9942/0.9942, allocations: 177.1 MB / 203.4 MB, free: 5.602 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.09402/0.09402, allocations: 17.46 MB / 277.4 MB, free: 11.53 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.333e-06/1.333e-06, allocations: 3.938 kB / 353.5 MB, free: 9.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.44e-05, allocations: 6.25 kB / 353.5 MB, free: 9.848 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.03166/0.03168, allocations: 36.01 MB / 389.6 MB, free: 5.941 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.04487, allocations: 11.02 MB / 400.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.04639, allocations: 83.31 kB / 400.7 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003479/0.04987, allocations: 2.001 MB / 402.7 MB, free: 8.781 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.05247, allocations: 1.532 MB / 404.2 MB, free: 7.238 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005896/0.05837, allocations: 4.333 MB / 408.5 MB, free: 2.887 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.15/0.2084, allocations: 3.616 MB / 412.1 MB, free: 36.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.2098, allocations: 0.551 MB / 412.7 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.2131, allocations: 2.05 MB / 414.7 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.2157, allocations: 1.623 MB / 416.4 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007503/0.2165, allocations: 311.5 kB / 416.7 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004698/0.2212, allocations: 2.05 MB / 418.7 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007888/0.222, allocations: 1.096 MB / 419.8 MB, free: 36.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.2233, allocations: 1.147 MB / 421 MB, free: 35.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004729/0.2281, allocations: 4.844 MB / 425.8 MB, free: 35.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2281, allocations: 3.562 kB / 425.8 MB, free: 35.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2281, allocations: 3.938 kB / 425.8 MB, free: 35.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.276e-05/0.2281, allocations: 7.438 kB / 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.004699/0.2328, allocations: 4.69 MB / 430.5 MB, free: 32.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.2329, allocations: 9.344 kB / 430.5 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.235, allocations: 1.717 MB / 432.2 MB, free: 31.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.2372, allocations: 1.973 MB / 434.2 MB, free: 30.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/0.2374, allocations: 0.5005 MB / 434.7 MB, free: 30.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/0.2378, allocations: 298.3 kB / 435 MB, free: 30.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005188/0.2429, allocations: 4.441 MB / 439.4 MB, free: 28.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.873e-05/0.243, allocations: 192 / 439.4 MB, free: 28.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.2432, allocations: 118.7 kB / 439.6 MB, free: 28.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003598/0.2435, allocations: 469.5 kB / 440 MB, free: 28.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006728/0.2503, allocations: 5.707 MB / 445.7 MB, free: 22.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01712/0.2674, allocations: 15.73 MB / 461.4 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.2694, allocations: 1.306 MB / 462.8 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.2707, allocations: 0.8834 MB / 463.6 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/0.2821, allocations: 9.883 MB / 473.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.2821, allocations: 58.16 kB / 473.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=188): time 3.617e-06/0.2822, allocations: 0 / 473.6 MB, free: 10.75 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.0933190868236125]