Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.SimpleReaction22.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.0009452/0.0009452, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001111/0.001111, allocations: 165 kB / 24.05 MB, free: 452 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.011/1.011, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.09936/0.09936, allocations: 17.46 MB / 278.5 MB, free: 11.38 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.SimpleReaction22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction22") translateModel(Chemical.Examples.SimpleReaction22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 354.8 MB, free: 9.566 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.552e-05, allocations: 6.25 kB / 354.8 MB, free: 9.559 MB / 282.7 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.SimpleReaction22): time 0.03476/0.03478, allocations: 38.43 MB / 393.2 MB, free: 3.238 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.0509, allocations: 11.51 MB / 404.7 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002815/0.05372, allocations: 107.1 kB / 404.8 MB, free: 7.574 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004273/0.05799, allocations: 2.121 MB / 406.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004648/0.06264, allocations: 1.827 MB / 408.8 MB, free: 3.602 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.152/0.2146, allocations: 4.426 MB / 413.2 MB, free: 36.25 MB / 330.7 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.006484/0.2211, allocations: 4.61 MB / 417.8 MB, free: 35.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.2224, allocations: 0.8213 MB / 418.6 MB, free: 35.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004777/0.2272, allocations: 2.662 MB / 421.3 MB, free: 35.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003615/0.2308, allocations: 2.122 MB / 423.4 MB, free: 34.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009783/0.2318, allocations: 428 kB / 423.8 MB, free: 34.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004782/0.2366, allocations: 2.27 MB / 426.1 MB, free: 34.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00125/0.2378, allocations: 1.42 MB / 427.5 MB, free: 34.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002613/0.2405, allocations: 1.518 MB / 429 MB, free: 33.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007465/0.2479, allocations: 5.911 MB / 435 MB, free: 31.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2479, allocations: 0 / 435 MB, free: 31.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2479, allocations: 0 / 435 MB, free: 31.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002195/0.2482, allocations: 0 / 435 MB, free: 31.17 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: 1267 * Number of variables: 1267 Notification: Performance of Generate backend data structure: time 0.007334/0.2555, allocations: 5.839 MB / 440.8 MB, free: 27.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2555, allocations: 8.031 kB / 440.8 MB, free: 27.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/0.258, allocations: 2.216 MB / 443 MB, free: 25.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.2603, allocations: 2.509 MB / 445.5 MB, free: 22.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.2605, allocations: 0.6323 MB / 446.2 MB, free: 22.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000328/0.2609, allocations: 393.5 kB / 446.5 MB, free: 21.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004413/0.2653, allocations: 4.982 MB / 451.5 MB, free: 17.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.345e-05/0.2653, allocations: 192 / 451.5 MB, free: 17.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/0.2656, allocations: 157.5 kB / 451.7 MB, free: 16.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003441/0.2659, allocations: 0.6205 MB / 452.3 MB, free: 16.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004357/0.2703, allocations: 5.991 MB / 458.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02003/0.2903, allocations: 19.09 MB / 477.4 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.2924, allocations: 1.419 MB / 478.8 MB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.2936, allocations: 0.8682 MB / 479.7 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01344/0.307, allocations: 11.49 MB / 491.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.3071, allocations: 55.39 kB / 491.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=237): time 4.077e-06/0.3071, allocations: 2.688 kB / 491.2 MB, free: 10.26 MB / 362.7 MB Error: Internal error It is not possible to select continuous time states because Number of Equations 71 greater than number of States 70 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.1007642410695553]