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.001319/0.001319, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001362/0.001362, allocations: 177 kB / 23.36 MB, free: 1.129 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 1/1, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.1117/0.1117, allocations: 17.46 MB / 277.7 MB, free: 11.44 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.303e-06/1.303e-06, allocations: 0 / 300.7 MB, free: 1.781 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.148e-05, allocations: 2.312 kB / 300.7 MB, free: 1.777 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.SimpleReactionsWithJunction3): time 0.03646/0.03649, allocations: 38.95 MB / 339.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.04931, allocations: 10.49 MB / 350.2 MB, free: 2.902 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.05095, allocations: 59.5 kB / 350.2 MB, free: 2.844 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003473/0.05442, allocations: 1.892 MB / 352.1 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003092/0.05752, allocations: 1.265 MB / 353.4 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005323/0.06284, allocations: 4.165 MB / 357.5 MB, free: 11.48 MB / 330.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.00311/0.06595, allocations: 2.653 MB / 360.2 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005566/0.06651, allocations: 460.2 kB / 360.6 MB, free: 8.312 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.06811, allocations: 1.466 MB / 362.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.06934, allocations: 1.103 MB / 363.2 MB, free: 5.738 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002998/0.06964, allocations: 216 kB / 363.4 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/0.07294, allocations: 1.934 MB / 365.3 MB, free: 3.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000484/0.07343, allocations: 0.7788 MB / 366.1 MB, free: 2.809 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008541/0.07428, allocations: 0.8143 MB / 366.9 MB, free: 1.992 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005167/0.07945, allocations: 3.913 MB / 370.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.07945, allocations: 4 kB / 370.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.07945, allocations: 0 / 370.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.806e-05/0.07952, allocations: 0 / 370.9 MB, free: 14.06 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.003655/0.08318, allocations: 3.081 MB / 373.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.578e-05/0.0832, allocations: 12.03 kB / 373.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.08468, allocations: 1.144 MB / 375.1 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.08589, allocations: 1.007 MB / 376.1 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.0861, allocations: 386.1 kB / 376.5 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.08628, allocations: 212.3 kB / 376.7 MB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.08855, allocations: 2.586 MB / 379.3 MB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.08858, allocations: 192 / 379.3 MB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.373e-05/0.08867, allocations: 84.11 kB / 379.4 MB, free: 5.387 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.08887, allocations: 296.6 kB / 379.6 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.09142, allocations: 3.032 MB / 382.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009659/0.1011, allocations: 8.436 MB / 391.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.1022, allocations: 0.8691 MB / 392 MB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/0.1027, allocations: 0.4887 MB / 392.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006897/0.1096, allocations: 6.348 MB / 398.8 MB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1096, allocations: 39.56 kB / 398.9 MB, free: 1.738 MB / 362.7 MB Notification: Performance of pre-optimization done (n=151): time 2.825e-06/0.1096, allocations: 0 / 398.9 MB, free: 1.738 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.818344253115356]