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.0009991/0.0009991, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001002/0.001002, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9915/0.9915, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.1252/0.1252, allocations: 17.47 MB / 278.5 MB, free: 11.41 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.382e-06/1.382e-06, allocations: 0 / 354.8 MB, free: 9.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.025e-05, allocations: 2.312 kB / 354.8 MB, free: 9.594 MB / 282.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.03821/0.03823, allocations: 33.13 MB / 387.9 MB, free: 8.578 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.04885, allocations: 10.24 MB / 398.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000722/0.04957, allocations: 63.5 kB / 398.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.05215, allocations: 1.861 MB / 400.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.05372, allocations: 1.253 MB / 401.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004375/0.05809, allocations: 4.107 MB / 405.4 MB, free: 6.969 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.002355/0.06045, allocations: 2.659 MB / 408.1 MB, free: 4.301 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.06092, allocations: 432.2 kB / 408.5 MB, free: 3.836 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.06197, allocations: 1.462 MB / 410 MB, free: 2.371 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000958/0.06293, allocations: 1.142 MB / 411.1 MB, free: 1.227 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.06311, allocations: 212 kB / 411.3 MB, free: 1.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1552/0.2183, allocations: 1.951 MB / 413.3 MB, free: 38.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009733/0.2193, allocations: 0.7738 MB / 414 MB, free: 38.88 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001575/0.2208, allocations: 0.8189 MB / 414.9 MB, free: 38.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006391/0.2272, allocations: 3.908 MB / 418.8 MB, free: 38.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2272, allocations: 0 / 418.8 MB, free: 38.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2272, allocations: 0 / 418.8 MB, free: 38.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.726e-05/0.2273, allocations: 1.281 kB / 418.8 MB, free: 38.65 MB / 330.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.004903/0.2322, allocations: 3.476 MB / 422.2 MB, free: 37.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2323, allocations: 10.89 kB / 422.3 MB, free: 37.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.2341, allocations: 1.247 MB / 423.5 MB, free: 36.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.2355, allocations: 1.411 MB / 424.9 MB, free: 36.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/0.2357, allocations: 387.5 kB / 425.3 MB, free: 36.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.2359, allocations: 205.8 kB / 425.5 MB, free: 36.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.2381, allocations: 2.562 MB / 428 MB, free: 35.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.2382, allocations: 192 / 428 MB, free: 35.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.2383, allocations: 81.16 kB / 428.1 MB, free: 35.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.2384, allocations: 297.1 kB / 428.4 MB, free: 35.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.2408, allocations: 3.002 MB / 431.4 MB, free: 35.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009115/0.2499, allocations: 10.85 MB / 442.3 MB, free: 28.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.251, allocations: 0.9614 MB / 443.2 MB, free: 27.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005686/0.2516, allocations: 0.6162 MB / 443.9 MB, free: 26.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006574/0.2581, allocations: 8.284 MB / 452.1 MB, free: 18.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.2582, allocations: 46.39 kB / 452.2 MB, free: 18.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=151): time 2.304e-06/0.2582, allocations: 0 / 452.2 MB, free: 18.66 MB / 330.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.074991337954998]