Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.SimpleReaction2.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.001419/0.001419, allocations: 80.45 kB / 19.18 MB, free: 2.52 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.00152/0.00152, allocations: 162 kB / 22.45 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.455/1.455, allocations: 177.2 MB / 202.8 MB, free: 9.164 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.143/0.143, allocations: 17.46 MB / 276.6 MB, free: 15.2 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction2") translateModel(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 412.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.321e-05, allocations: 2.281 kB / 412.1 MB, free: 4.285 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1343:7-1343: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/Boundaries.mo:1343:7-1343: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361:76: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/Boundaries.mo:1361:7-1361:76: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. Notification: Performance of NFInst.instantiate(Chemical.Examples.SimpleReaction2): time 0.04491/0.04494, allocations: 31.96 MB / 444.1 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2227/0.2676, allocations: 10.1 MB / 454.2 MB, free: 31.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.2703, allocations: 82.03 kB / 454.2 MB, free: 31.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005564/0.2759, allocations: 1.937 MB / 456.2 MB, free: 31.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005327/0.2812, allocations: 1.534 MB / 457.7 MB, free: 30.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008427/0.2897, allocations: 4.094 MB / 461.8 MB, free: 29.15 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1332:3-1332:55:writable] Warning: Parameter reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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 reaction2_1.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.005887/0.2955, allocations: 3.618 MB / 465.4 MB, free: 27.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.2966, allocations: 0.5526 MB / 466 MB, free: 27.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003575/0.3001, allocations: 2.042 MB / 468 MB, free: 26.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.3031, allocations: 1.628 MB / 469.6 MB, free: 25.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005024/0.3036, allocations: 314.2 kB / 469.9 MB, free: 25.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005634/0.3092, allocations: 2.058 MB / 472 MB, free: 24.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008335/0.31, allocations: 1.095 MB / 473.1 MB, free: 24.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.3119, allocations: 1.147 MB / 474.2 MB, free: 23.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009053/0.3209, allocations: 6.266 MB / 480.5 MB, free: 19.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.321, allocations: 3.938 kB / 480.5 MB, free: 19.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.321, allocations: 0 / 480.5 MB, free: 19.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001486/0.3211, allocations: 2.656 kB / 480.5 MB, free: 19.29 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: 960 * Number of variables: 960 Notification: Performance of Generate backend data structure: time 0.01107/0.3322, allocations: 4.322 MB / 484.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3322, allocations: 12.03 kB / 484.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/0.3351, allocations: 0.9025 MB / 485.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.3379, allocations: 1.965 MB / 487.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/0.3382, allocations: 0.5072 MB / 488.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/0.3385, allocations: 295 kB / 488.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/0.3488, allocations: 11.94 MB / 0.4887 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.066e-05/0.3488, allocations: 192 / 0.4887 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002661/0.3491, allocations: 123 kB / 0.4888 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005705/0.3496, allocations: 470.7 kB / 0.4893 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02516/0.3748, allocations: 21.05 MB / 0.5098 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03892/0.4137, allocations: 20.66 MB / 0.53 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005378/0.4191, allocations: 2.758 MB / 0.5327 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003912/0.423, allocations: 2.263 MB / 0.5349 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02285/0.4459, allocations: 12.77 MB / 0.5474 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.4459, allocations: 43.88 kB / 0.5474 GB, free: 3.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=188): time 3.957e-06/0.4459, allocations: 4 kB / 0.5474 GB, free: 3.516 MB / 430.1 MB Error: Internal error It is not possible to select continuous time states because Number of Equations 58 greater than number of States 57 to select from. Error: Internal error Selection of DummyDerivatives failed due to negative system rank of -1! There are 31 unassigned equations and 30 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.972183186560869] Failed to read output from testmodel.py, exit status != 0: 0.5009890496730804 0.516867839 0.19265574300000002 Calling exit ...