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.001376/0.001376, allocations: 78.48 kB / 19.18 MB, free: 2.527 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.001456/0.001456, allocations: 168.3 kB / 22.46 MB, free: 5.359 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.463/1.463, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.1434/0.1434, allocations: 17.45 MB / 276.6 MB, free: 15.21 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.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.383e-06/1.383e-06, allocations: 0 / 412.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.027e-05/3.165e-05, allocations: 2.281 kB / 412.1 MB, free: 4.285 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.SimpleReaction): time 0.04541/0.04544, allocations: 29.62 MB / 441.7 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2464/0.2919, allocations: 9.466 MB / 451.2 MB, free: 31.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.2939, allocations: 61.75 kB / 451.2 MB, free: 31.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005307/0.2992, allocations: 1.807 MB / 453 MB, free: 31.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004145/0.3033, allocations: 1.246 MB / 454.3 MB, free: 31.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008494/0.3118, allocations: 3.935 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.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.005064/0.3169, allocations: 2.645 MB / 460.9 MB, free: 29.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008417/0.3177, allocations: 433.7 kB / 461.3 MB, free: 29.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.3203, allocations: 1.454 MB / 462.8 MB, free: 28.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.3225, allocations: 1.139 MB / 463.9 MB, free: 28.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000417/0.3229, allocations: 217.3 kB / 464.1 MB, free: 28.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006148/0.329, allocations: 1.96 MB / 466.1 MB, free: 28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007625/0.3298, allocations: 0.7811 MB / 466.8 MB, free: 27.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.3313, allocations: 0.8104 MB / 467.7 MB, free: 27.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009537/0.3409, allocations: 4.917 MB / 472.6 MB, free: 24.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3409, allocations: 0 / 472.6 MB, free: 24.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3409, allocations: 3.938 kB / 472.6 MB, free: 24.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.492e-05/0.3409, allocations: 0 / 472.6 MB, free: 24.62 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.005768/0.3467, allocations: 3.16 MB / 475.7 MB, free: 22.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3467, allocations: 8.344 kB / 475.7 MB, free: 22.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.3489, allocations: 0.703 MB / 476.4 MB, free: 22.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.3508, allocations: 1.437 MB / 477.9 MB, free: 20.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.3511, allocations: 384.1 kB / 478.3 MB, free: 20.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002892/0.3514, allocations: 203.7 kB / 478.5 MB, free: 20.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007012/0.3584, allocations: 8.017 MB / 486.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.3584, allocations: 192 / 486.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.3586, allocations: 81.84 kB / 486.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002448/0.3588, allocations: 300.5 kB / 486.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.3693, allocations: 14.04 MB / 0.4892 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02718/0.3965, allocations: 15.24 MB / 0.504 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004648/0.4011, allocations: 2.391 MB / 0.5064 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003213/0.4043, allocations: 1.98 MB / 0.5083 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01924/0.4236, allocations: 11.13 MB / 0.5192 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.4236, allocations: 46.25 kB / 0.5192 GB, free: 456 kB / 398.1 MB Notification: Performance of pre-optimization done (n=151): time 4.048e-06/0.4236, allocations: 0 / 0.5192 GB, free: 456 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.9476464800536633] Failed to read output from testmodel.py, exit status != 0: 0.4716149568557739 0.48727367099999996 0.143270654 Calling exit ...