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.000875/0.000875, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002179, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.0007796/0.0007796, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001508/0.002288, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.022/1.022, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09844/1.12, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.1208/0.1208, allocations: 17.45 MB / 261.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01244/0.1332, allocations: 6.971 MB / 268.6 MB, free: 6.277 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.563e-06/1.563e-06, allocations: 3.938 kB / 269.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.022e-05, allocations: 6.312 kB / 269.9 MB, free: 4.988 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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.1541/0.1541, allocations: 9.614 MB / 279.5 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01985/0.174, allocations: 10.61 MB / 290.1 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.1755, allocations: 62.03 kB / 290.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003849/0.1794, allocations: 1.896 MB / 292 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.1825, allocations: 1.249 MB / 293.3 MB, free: 8.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00586/0.1883, allocations: 4.161 MB / 297.5 MB, free: 5.168 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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.003307/0.1916, allocations: 2.658 MB / 300.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006063/0.1922, allocations: 460 kB / 300.6 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.194, allocations: 1.55 MB / 302.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.1955, allocations: 1.118 MB / 303.2 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000407/0.1959, allocations: 216 kB / 303.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004493/0.2004, allocations: 2.012 MB / 305.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005194/0.2009, allocations: 0.6737 MB / 306.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000798/0.2017, allocations: 0.6936 MB / 306.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005504/0.2072, allocations: 3.598 MB / 310.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.271e-05/0.2072, allocations: 0 / 310.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2072, allocations: 0 / 310.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.297e-05/0.2073, allocations: 0 / 310.4 MB, free: 9.656 MB / 298.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.004228/0.2115, allocations: 3.703 MB / 314.1 MB, free: 5.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.2116, allocations: 8.031 kB / 314.1 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.2131, allocations: 1.156 MB / 315.3 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.2144, allocations: 1.003 MB / 316.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.2146, allocations: 382.1 kB / 316.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.2148, allocations: 200.4 kB / 316.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.2174, allocations: 2.594 MB / 319.4 MB, free: 432 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.2174, allocations: 192 / 319.4 MB, free: 432 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.2176, allocations: 84.11 kB / 319.5 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002671/0.2178, allocations: 304.5 kB / 319.8 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/0.2205, allocations: 3.028 MB / 322.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009642/0.2301, allocations: 8.492 MB / 331.3 MB, free: 4.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.2312, allocations: 0.8786 MB / 332.2 MB, free: 3.539 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005426/0.2317, allocations: 0.5004 MB / 332.7 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00695/0.2387, allocations: 6.352 MB / 339.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.2387, allocations: 47.56 kB / 339.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=151): time 2.845e-06/0.2387, allocations: 0 / 339.1 MB, free: 12.61 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: 1.8427253067493439]