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.0009486/0.0009486, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001145/0.001145, allocations: 181 kB / 23.36 MB, free: 1.129 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.034/1.034, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.0923/0.0923, allocations: 17.46 MB / 277.7 MB, free: 11.42 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.873e-06/1.873e-06, allocations: 0 / 300.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.139e-05, allocations: 3.297 kB / 300.8 MB, free: 1.758 MB / 266.7 MB [/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. [/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. Notification: Performance of NFInst.instantiate(Chemical.Examples.SimpleReaction2): time 0.04038/0.04041, allocations: 41.64 MB / 342.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01586/0.05627, allocations: 11.18 MB / 353.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.05885, allocations: 83.31 kB / 353.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004168/0.06301, allocations: 2.024 MB / 355.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004037/0.06705, allocations: 1.532 MB / 357.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006296/0.07335, allocations: 4.309 MB / 361.5 MB, free: 7.484 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.005403/0.07875, allocations: 3.626 MB / 365.2 MB, free: 3.844 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00093/0.07968, allocations: 0.574 MB / 365.7 MB, free: 3.207 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/0.08245, allocations: 2.047 MB / 367.8 MB, free: 1.156 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.08445, allocations: 1.574 MB / 369.3 MB, free: 15.58 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006085/0.08506, allocations: 312 kB / 369.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003992/0.08905, allocations: 2.07 MB / 371.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006929/0.08975, allocations: 1.094 MB / 372.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.09121, allocations: 1.142 MB / 374 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007464/0.09868, allocations: 4.847 MB / 378.8 MB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.09868, allocations: 0 / 378.8 MB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.09868, allocations: 0 / 378.8 MB, free: 6.094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001383/0.09882, allocations: 0 / 378.8 MB, free: 6.094 MB / 346.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.005449/0.1043, allocations: 4.1 MB / 382.9 MB, free: 1.945 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1043, allocations: 8.031 kB / 382.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/0.1062, allocations: 1.567 MB / 384.5 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.1081, allocations: 1.342 MB / 385.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/0.1084, allocations: 0.4955 MB / 386.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/0.1087, allocations: 308.2 kB / 386.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/0.1122, allocations: 3.796 MB / 390.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.1122, allocations: 4.188 kB / 390.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.1123, allocations: 116.1 kB / 390.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003164/0.1127, allocations: 474.8 kB / 391 MB, free: 9.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003922/0.1166, allocations: 4.544 MB / 395.5 MB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01593/0.1325, allocations: 11.76 MB / 407.3 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.1343, allocations: 1.027 MB / 408.3 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009744/0.1352, allocations: 0.5801 MB / 408.9 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01215/0.1474, allocations: 7.43 MB / 416.3 MB, free: 240 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/0.1474, allocations: 51.75 kB / 416.4 MB, free: 180 kB / 378.7 MB Notification: Performance of pre-optimization done (n=188): time 5.37e-06/0.1474, allocations: 4 kB / 416.4 MB, free: 176 kB / 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: 1.9818445169366896]