Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.SimpleReaction22.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.002682/0.002682, allocations: 85.48 kB / 19.44 MB, free: 340 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.002868/0.002868, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.625/1.625, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.2134/0.2134, allocations: 17.46 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.SimpleReaction22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction22") translateModel(Chemical.Examples.SimpleReaction22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.581e-05/3.77e-05, allocations: 5.125 kB / 352.8 MB, free: 10.21 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.SimpleReaction22): time 0.07553/0.07557, allocations: 36.32 MB / 389.1 MB, free: 5.984 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02479/0.1004, allocations: 11.59 MB / 400.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003673/0.104, allocations: 107.1 kB / 400.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006258/0.1103, allocations: 2.117 MB / 402.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006404/0.1167, allocations: 1.831 MB / 404.8 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01005/0.1267, allocations: 4.462 MB / 409.2 MB, free: 1.793 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.1558/0.2825, allocations: 4.598 MB / 413.8 MB, free: 34.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.2841, allocations: 0.8204 MB / 414.7 MB, free: 34.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00619/0.2903, allocations: 2.664 MB / 417.3 MB, free: 33.87 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004831/0.2951, allocations: 2.132 MB / 419.5 MB, free: 33.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001387/0.2965, allocations: 426.6 kB / 419.9 MB, free: 33.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006424/0.3029, allocations: 2.271 MB / 422.1 MB, free: 33.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001483/0.3044, allocations: 1.431 MB / 423.6 MB, free: 33.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002893/0.3073, allocations: 1.517 MB / 425.1 MB, free: 33.22 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.3188, allocations: 7.834 MB / 432.9 MB, free: 30.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3188, allocations: 1.406 kB / 432.9 MB, free: 30.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3188, allocations: 0 / 432.9 MB, free: 30.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001666/0.319, allocations: 2.062 kB / 432.9 MB, free: 30.16 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: 1267 * Number of variables: 1267 Notification: Performance of Generate backend data structure: time 0.01084/0.3298, allocations: 6.33 MB / 439.3 MB, free: 25.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3298, allocations: 14.03 kB / 439.3 MB, free: 25.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/0.3341, allocations: 2.215 MB / 441.5 MB, free: 24.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004096/0.3382, allocations: 2.564 MB / 444 MB, free: 22.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/0.3386, allocations: 0.6369 MB / 444.7 MB, free: 21.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/0.339, allocations: 397.5 kB / 445.1 MB, free: 21.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008822/0.3478, allocations: 6.676 MB / 451.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-05/0.3479, allocations: 192 / 451.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002826/0.3482, allocations: 157 kB / 451.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004802/0.3487, allocations: 0.6143 MB / 452.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/0.3605, allocations: 12.26 MB / 464.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05767/0.4182, allocations: 27.2 MB / 492 MB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007014/0.4252, allocations: 2.754 MB / 494.7 MB, free: 3.348 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00471/0.4299, allocations: 1.95 MB / 496.7 MB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03596/0.4659, allocations: 13.57 MB / 0.4983 GB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.393e-05/0.4659, allocations: 55.39 kB / 0.4983 GB, free: 3.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=237): time 4.829e-06/0.4659, allocations: 0 / 0.4983 GB, free: 3.828 MB / 378.7 MB Error: Internal error It is not possible to select continuous time states because Number of Equations 71 greater than number of States 70 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 659] [Calling sys.exit(0), Time elapsed: 3.1857652079779655]