Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.SimpleReaction.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.000947/0.000947, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009914/0.0009914, allocations: 177 kB / 23.36 MB, free: 1.137 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.9524/0.9524, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.1002/0.1002, allocations: 17.46 MB / 277.7 MB, free: 11.43 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction") translateModel(Chemical.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 300.7 MB, free: 1.777 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.286e-05, allocations: 8.484 kB / 300.8 MB, free: 1.77 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Processes.mo:1084:7-1084:40: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/Processes.mo:1084:7-1084:40: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/Interfaces.mo:1731:7-1731: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/Interfaces.mo:1731:7-1731: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.SimpleReaction): time 0.03391/0.03392, allocations: 39 MB / 339.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.04684, allocations: 10.49 MB / 350.2 MB, free: 2.824 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.04785, allocations: 63.5 kB / 350.3 MB, free: 2.762 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002854/0.0507, allocations: 1.896 MB / 352.2 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.05265, allocations: 1.245 MB / 353.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004509/0.05716, allocations: 4.138 MB / 357.6 MB, free: 11.45 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1332:3-1332:55:writable] Warning: Parameter r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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.002346/0.05951, allocations: 2.661 MB / 360.2 MB, free: 8.773 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000476/0.05998, allocations: 460.2 kB / 360.7 MB, free: 8.266 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.06119, allocations: 1.462 MB / 362.2 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.06225, allocations: 1.107 MB / 363.3 MB, free: 5.691 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002381/0.06249, allocations: 216 kB / 363.5 MB, free: 5.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/0.06579, allocations: 1.973 MB / 365.4 MB, free: 3.504 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000551/0.06634, allocations: 0.7788 MB / 366.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006062/0.06695, allocations: 0.8143 MB / 367 MB, free: 1.906 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003871/0.07082, allocations: 3.909 MB / 371 MB, free: 13.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.07082, allocations: 4 kB / 371 MB, free: 13.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.07083, allocations: 4 kB / 371 MB, free: 13.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.068e-05/0.07085, allocations: 0 / 371 MB, free: 13.98 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: 662 * Number of variables: 662 Notification: Performance of Generate backend data structure: time 0.002964/0.07381, allocations: 3.077 MB / 374 MB, free: 10.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.07385, allocations: 8.031 kB / 374 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.07582, allocations: 1.152 MB / 375.2 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.0772, allocations: 1.003 MB / 376.2 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.07745, allocations: 386.7 kB / 376.6 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.07768, allocations: 200.4 kB / 376.8 MB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.08091, allocations: 2.59 MB / 379.4 MB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/0.08095, allocations: 192 / 379.4 MB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.08107, allocations: 84.11 kB / 379.4 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002848/0.08136, allocations: 296.6 kB / 379.7 MB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/0.08471, allocations: 3.036 MB / 382.8 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.09686, allocations: 8.436 MB / 391.2 MB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.09826, allocations: 0.8566 MB / 392.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.0993, allocations: 0.4965 MB / 392.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008829/0.1081, allocations: 6.34 MB / 398.9 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.1082, allocations: 47.5 kB / 398.9 MB, free: 1.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=151): time 3.026e-06/0.1082, allocations: 0 / 398.9 MB, free: 1.66 MB / 362.7 MB Error: Internal error It is not possible to select continuous time states because Number of Equations 51 greater than number of States 50 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 660] [Calling sys.exit(0), Time elapsed: 1.7956918850541115]