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.0007507/0.0007507, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.00102/0.00102, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8774/0.8774, allocations: 177.2 MB / 203.5 MB, free: 5.715 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.08631/0.08631, allocations: 17.45 MB / 277.4 MB, free: 11.75 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.SimpleReactionsWithJunction3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReactionsWithJunction3") translateModel(Chemical.Examples.SimpleReactionsWithJunction3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReactionsWithJunction3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 412.8 MB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.386e-05, allocations: 5.234 kB / 412.9 MB, free: 15.75 MB / 394.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.SimpleReactionsWithJunction3): time 0.02725/0.02729, allocations: 29.58 MB / 442.4 MB, free: 2.234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1859/0.2132, allocations: 9.475 MB / 451.9 MB, free: 59.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.2144, allocations: 60.69 kB / 452 MB, free: 59.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002843/0.2173, allocations: 1.804 MB / 453.8 MB, free: 58.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.2194, allocations: 1.246 MB / 455 MB, free: 57.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.2236, allocations: 3.93 MB / 459 MB, free: 55.28 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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 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 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 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 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 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 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 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 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 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.002373/0.226, allocations: 2.644 MB / 461.6 MB, free: 54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004546/0.2264, allocations: 441.8 kB / 462 MB, free: 53.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.2275, allocations: 1.454 MB / 463.5 MB, free: 53.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008596/0.2283, allocations: 1.137 MB / 464.6 MB, free: 52.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.2285, allocations: 216.6 kB / 464.8 MB, free: 52.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.2317, allocations: 1.954 MB / 466.8 MB, free: 52.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003421/0.232, allocations: 0.7831 MB / 467.6 MB, free: 51.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005523/0.2326, allocations: 0.813 MB / 468.4 MB, free: 51.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004907/0.2375, allocations: 4.92 MB / 473.3 MB, free: 49.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2375, allocations: 3.25 kB / 473.3 MB, free: 49.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2375, allocations: 1.5 kB / 473.3 MB, free: 49.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.465e-05/0.2375, allocations: 3.938 kB / 473.3 MB, free: 49.32 MB / 410.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.003493/0.241, allocations: 3.156 MB / 476.5 MB, free: 47.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2411, allocations: 9.5 kB / 476.5 MB, free: 47.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.2422, allocations: 0.7034 MB / 477.2 MB, free: 47.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.2434, allocations: 1.429 MB / 478.6 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.2436, allocations: 383.7 kB / 479 MB, free: 45.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.2438, allocations: 213 kB / 479.2 MB, free: 45.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005311/0.2491, allocations: 8.007 MB / 487.2 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.2491, allocations: 192 / 487.2 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.2492, allocations: 84.67 kB / 487.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002221/0.2494, allocations: 295 kB / 487.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.2595, allocations: 14.05 MB / 0.4899 GB, free: 37.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/0.2738, allocations: 15.25 MB / 0.5047 GB, free: 25.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.276, allocations: 2.38 MB / 0.5071 GB, free: 23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.2775, allocations: 1.986 MB / 0.509 GB, free: 21.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008693/0.2862, allocations: 11.14 MB / 0.5199 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2863, allocations: 43.56 kB / 0.5199 GB, free: 10.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 2.955e-06/0.2863, allocations: 2.656 kB / 0.5199 GB, free: 10.87 MB / 410.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.9827804313972592] Failed to read output from testmodel.py, exit status != 0: 0.310012748464942 0.31744555900000004 0.07824499800000001 Calling exit ...