Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.SimpleReactionsWithJunction3.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.001238/0.001238, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 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.001395/0.001395, allocations: 218.5 kB / 22.25 MB, free: 3.578 MB / 13.93 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.061/1.061, allocations: 230.6 MB / 256 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.1249/0.1249, allocations: 24.01 MB / 336.5 MB, free: 9.859 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Examples.SimpleReactionsWithJunction3,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReactionsWithJunction3",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.SimpleReactionsWithJunction3,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReactionsWithJunction3",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 79.89 kB / 472.9 MB, free: 16.2 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1221, allocations: 59.9 MB / 0.5203 GB, free: 4.188 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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.SimpleReactionsWithJunction3): time 0.474/0.596, allocations: 38.53 MB / 0.5579 GB, free: 5.754 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.6075, allocations: 9.461 MB / 0.5672 GB, free: 2.723 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.6093, allocations: 62.69 kB / 0.5672 GB, free: 2.691 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003925/0.6133, allocations: 1.802 MB / 0.569 GB, free: 1.793 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003699/0.617, allocations: 1.201 MB / 0.5701 GB, free: 1.051 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006506/0.6235, allocations: 3.881 MB / 0.5739 GB, free: 14.74 MB / 426.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Interfaces.mo:1332:3-1332:55:writable] Warning: Parameter r_ref.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 2.0.1-master/Interfaces.mo:1333:3-1333:87:writable] Warning: Parameter r_ref.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 2.0.1-master/Interfaces.mo:1334:3-1334:81:writable] Warning: Parameter r_ref.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 2.0.1-master/Interfaces.mo:1336:3-1336:82:writable] Warning: Parameter r_ref.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 2.0.1-master/Interfaces.mo:1337:3-1337:79:writable] Warning: Parameter r_ref.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 2.0.1-master/Interfaces.mo:1338:3-1338:84:writable] Warning: Parameter r_ref.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 2.0.1-master/Interfaces.mo:1339:3-1339:81:writable] Warning: Parameter r_ref.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 2.0.1-master/Interfaces.mo:1341:3-1342:83:writable] Warning: Parameter r_ref.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 2.0.1-master/Interfaces.mo:1344:3-1344:89:writable] Warning: Parameter r_ref.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 2.0.1-master/Interfaces.mo:1347:3-1347:140:writable] Warning: Parameter r_ref.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 2.0.1-master/Interfaces.mo:1348:3-1348:137:writable] Warning: Parameter r_ref.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.00449/0.6279, allocations: 2.581 MB / 0.5765 GB, free: 13.55 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000671/0.6286, allocations: 429.8 kB / 0.5769 GB, free: 13.32 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.6306, allocations: 1.012 MB / 0.5779 GB, free: 12.86 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.633, allocations: 1.273 MB / 0.5791 GB, free: 12.35 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0004916/0.6334, allocations: 217 kB / 0.5793 GB, free: 12.35 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00578/0.6392, allocations: 1.94 MB / 0.5812 GB, free: 11.88 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.6404, allocations: 0.7724 MB / 0.582 GB, free: 11.37 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001964/0.6423, allocations: 1.014 MB / 0.5829 GB, free: 10.73 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009013/0.6514, allocations: 4.83 MB / 0.5877 GB, free: 7.438 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.6514, allocations: 0 / 0.5877 GB, free: 7.438 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6514, allocations: 0 / 0.5877 GB, free: 7.438 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0001758/0.6515, allocations: 3.531 kB / 0.5877 GB, free: 7.438 MB / 426.8 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.006012/0.6576, allocations: 3.188 MB / 0.5908 GB, free: 5.207 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.6576, allocations: 11.3 kB / 0.5908 GB, free: 5.203 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003484/0.6579, allocations: 349 kB / 0.5911 GB, free: 4.945 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.6595, allocations: 0.7055 MB / 0.5918 GB, free: 4.574 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.6613, allocations: 1.426 MB / 0.5932 GB, free: 3.445 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.6616, allocations: 387.2 kB / 0.5936 GB, free: 3.113 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.6617, allocations: 204.1 kB / 0.5938 GB, free: 3.047 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006075/0.6678, allocations: 8.016 MB / 0.6016 GB, free: 14.85 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.6678, allocations: 0 / 0.6016 GB, free: 14.85 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.6679, allocations: 81.8 kB / 0.6017 GB, free: 14.79 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001969/0.6681, allocations: 294.5 kB / 0.602 GB, free: 14.69 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009607/0.6777, allocations: 14.06 MB / 0.6157 GB, free: 8.48 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01736/0.6951, allocations: 15.77 MB / 0.6311 GB, free: 11.45 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.6975, allocations: 2.388 MB / 0.6334 GB, free: 9.059 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.6993, allocations: 1.979 MB / 0.6353 GB, free: 7.082 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01057/0.7098, allocations: 11.19 MB / 0.6463 GB, free: 11.86 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.7099, allocations: 42.19 kB / 0.6463 GB, free: 11.81 MB / 474.8 MB Notification: Performance of pre-optimization done (n=151): time 2.344e-06/0.7099, allocations: 0 / 0.6463 GB, free: 11.81 MB / 474.8 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 659] [Calling sys.exit(0), Time elapsed: 2.9365614596754313]