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.001141/0.001141, allocations: 84.44 kB / 19.18 MB, free: 0.7383 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.0009513/0.0009513, allocations: 173.9 kB / 22.46 MB, free: 2.102 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.9505/0.9505, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.09194/0.09194, allocations: 17.45 MB / 276.6 MB, free: 11.78 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: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 413.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.862e-05, allocations: 3.562 kB / 413.1 MB, free: 11.93 MB / 330.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.03627/0.03629, allocations: 38.55 MB / 451.7 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.04887, allocations: 9.491 MB / 461.2 MB, free: 8.117 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009421/0.04981, allocations: 63.5 kB / 461.2 MB, free: 8.055 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00318/0.05299, allocations: 1.811 MB / 463 MB, free: 6.527 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.05494, allocations: 1.245 MB / 464.3 MB, free: 5.273 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005165/0.06011, allocations: 3.924 MB / 468.2 MB, free: 1.332 MB / 362.7 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.002772/0.06288, allocations: 2.653 MB / 470.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000576/0.06346, allocations: 436.1 kB / 471.3 MB, free: 14.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.06485, allocations: 1.458 MB / 472.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.06617, allocations: 1.138 MB / 473.9 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.06644, allocations: 220 kB / 474.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/0.06962, allocations: 1.957 MB / 476.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007438/0.07036, allocations: 0.7787 MB / 476.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007313/0.07109, allocations: 0.8104 MB / 477.7 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004575/0.07567, allocations: 4.908 MB / 482.6 MB, free: 2.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.07567, allocations: 0 / 482.6 MB, free: 2.898 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.07567, allocations: 0 / 482.6 MB, free: 2.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.328e-05/0.07575, allocations: 0 / 482.6 MB, free: 2.898 MB / 378.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.004579/0.08032, allocations: 3.173 MB / 485.7 MB, free: 15.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.08037, allocations: 12.03 kB / 485.7 MB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003286/0.08069, allocations: 339 kB / 486.1 MB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.08221, allocations: 0.7054 MB / 486.8 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.08392, allocations: 1.429 MB / 488.2 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/0.08417, allocations: 386.1 kB / 488.6 MB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.08441, allocations: 208.3 kB / 488.8 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007397/0.09181, allocations: 8.015 MB / 496.8 MB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.09184, allocations: 192 / 496.8 MB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.09199, allocations: 83.92 kB / 496.9 MB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00026/0.09225, allocations: 296.6 kB / 497.2 MB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/0.1042, allocations: 14.05 MB / 0.4992 GB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01861/0.1228, allocations: 15.77 MB / 0.5146 GB, free: 6.152 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.1253, allocations: 2.382 MB / 0.517 GB, free: 3.758 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.1271, allocations: 1.98 MB / 0.5189 GB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/0.1378, allocations: 11.21 MB / 0.5298 GB, free: 6.527 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1379, allocations: 43.55 kB / 0.5299 GB, free: 6.477 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 2.485e-06/0.1379, allocations: 0 / 0.5299 GB, free: 6.477 MB / 442.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: 2.134979826398194]