Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.SimpleReaction.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.001455/0.001455, 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.00178/0.00178, 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 1.044/1.044, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.1048/0.1048, allocations: 17.46 MB / 278.5 MB, free: 11.39 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction") translateModel(Chemical.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 354.8 MB, free: 9.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.669e-05, allocations: 5.688 kB / 354.8 MB, free: 9.578 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.SimpleReaction): time 0.02965/0.02967, allocations: 33.13 MB / 387.9 MB, free: 8.562 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.04088, allocations: 10.24 MB / 398.1 MB, free: 14.28 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009327/0.04181, allocations: 59.5 kB / 398.2 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00278/0.04459, allocations: 1.861 MB / 400.1 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.04631, allocations: 1.257 MB / 401.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004203/0.05052, allocations: 4.103 MB / 405.4 MB, free: 6.965 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1332:3-1332:55:writable] Warning: Parameter r.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.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.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.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.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.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.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.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.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.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.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.002853/0.05337, allocations: 2.664 MB / 408.1 MB, free: 4.289 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006294/0.054, allocations: 428.2 kB / 408.5 MB, free: 3.828 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.05548, allocations: 1.462 MB / 410 MB, free: 2.363 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.05653, allocations: 1.138 MB / 411.1 MB, free: 1.223 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.05673, allocations: 216 kB / 411.3 MB, free: 1.012 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1398/0.1965, allocations: 1.952 MB / 413.3 MB, free: 38.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.1975, allocations: 0.7758 MB / 414 MB, free: 38.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.1989, allocations: 0.815 MB / 414.9 MB, free: 38.94 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005513/0.2045, allocations: 3.907 MB / 418.8 MB, free: 38.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2045, allocations: 0.7969 kB / 418.8 MB, free: 38.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2045, allocations: 1.5 kB / 418.8 MB, free: 38.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.006e-05/0.2045, allocations: 0 / 418.8 MB, free: 38.71 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.005473/0.21, allocations: 3.473 MB / 422.2 MB, free: 37.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.21, allocations: 8.969 kB / 422.2 MB, free: 37.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/0.2122, allocations: 1.243 MB / 423.5 MB, free: 37.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.2139, allocations: 1.416 MB / 424.9 MB, free: 36.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.214, allocations: 388.8 kB / 425.3 MB, free: 36.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/0.2143, allocations: 203.3 kB / 425.5 MB, free: 36.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/0.2172, allocations: 2.56 MB / 428 MB, free: 35.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.2172, allocations: 2.844 kB / 428 MB, free: 35.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.2173, allocations: 83.77 kB / 428.1 MB, free: 35.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002347/0.2176, allocations: 300.8 kB / 428.4 MB, free: 35.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.2207, allocations: 2.997 MB / 431.4 MB, free: 35.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.2328, allocations: 10.85 MB / 442.3 MB, free: 28.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.2342, allocations: 0.9551 MB / 443.2 MB, free: 27.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007903/0.235, allocations: 0.6201 MB / 443.8 MB, free: 26.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008971/0.244, allocations: 8.285 MB / 452.1 MB, free: 18.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.244, allocations: 42.39 kB / 452.2 MB, free: 18.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=151): time 3.116e-06/0.244, allocations: 3.281 kB / 452.2 MB, free: 18.64 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.0875809569843113]