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.001461/0.001461, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001578/0.001578, allocations: 164.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.489/1.489, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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.1391/0.1391, allocations: 17.46 MB / 276.6 MB, free: 15.18 MB / 270.1 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.783e-06/1.783e-06, allocations: 0 / 412.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.232e-05, allocations: 2.281 kB / 412.1 MB, free: 4.293 MB / 334.1 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.0408/0.04084, allocations: 29.63 MB / 441.7 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2109/0.2517, allocations: 9.468 MB / 451.2 MB, free: 31.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.2539, allocations: 62.58 kB / 451.2 MB, free: 31.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00509/0.2589, allocations: 1.807 MB / 453 MB, free: 31.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004463/0.2634, allocations: 1.251 MB / 454.3 MB, free: 31.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009016/0.2724, allocations: 3.93 MB / 458.2 MB, free: 30.51 MB / 366.1 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.00599/0.2784, allocations: 2.653 MB / 460.9 MB, free: 29.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.2795, allocations: 433.3 kB / 461.3 MB, free: 29.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/0.2825, allocations: 1.452 MB / 462.8 MB, free: 28.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002245/0.2847, allocations: 1.142 MB / 463.9 MB, free: 28.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004794/0.2852, allocations: 221.9 kB / 464.1 MB, free: 28.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007064/0.2923, allocations: 1.949 MB / 466.1 MB, free: 28.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001259/0.2935, allocations: 0.7834 MB / 466.8 MB, free: 27.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002239/0.2958, allocations: 0.8139 MB / 467.7 MB, free: 27.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.3063, allocations: 4.913 MB / 472.6 MB, free: 24.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3063, allocations: 3.984 kB / 472.6 MB, free: 24.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3063, allocations: 2.688 kB / 472.6 MB, free: 24.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001193/0.3065, allocations: 1.375 kB / 472.6 MB, free: 24.64 MB / 366.1 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.006928/0.3134, allocations: 3.165 MB / 475.7 MB, free: 22.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3134, allocations: 10.47 kB / 475.8 MB, free: 22.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002396/0.3158, allocations: 0.7001 MB / 476.5 MB, free: 22.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.3181, allocations: 1.43 MB / 477.9 MB, free: 20.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/0.3183, allocations: 388.3 kB / 478.3 MB, free: 20.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.3186, allocations: 204.9 kB / 478.5 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00743/0.326, allocations: 8.016 MB / 486.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.159e-05/0.3261, allocations: 192 / 486.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.3262, allocations: 81.14 kB / 486.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002418/0.3265, allocations: 295.3 kB / 486.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.3373, allocations: 14.06 MB / 0.4892 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03129/0.3686, allocations: 15.24 MB / 0.5041 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004788/0.3734, allocations: 2.375 MB / 0.5064 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0038/0.3772, allocations: 1.983 MB / 0.5083 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02092/0.3981, allocations: 11.13 MB / 0.5192 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.3982, allocations: 47.5 kB / 0.5192 GB, free: 460 kB / 398.1 MB Notification: Performance of pre-optimization done (n=151): time 3.407e-06/0.3982, allocations: 0 / 0.5192 GB, free: 460 kB / 398.1 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.945438265800476] Failed to read output from testmodel.py, exit status != 0: 0.4482533782720566 0.46631090199999997 0.15602323399999996 Calling exit ...