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.001278/0.001278, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001362/0.001362, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 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.028/1.028, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.112/0.112, allocations: 17.46 MB / 277.4 MB, free: 11.55 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.974e-06/1.974e-06, allocations: 3.938 kB / 353.5 MB, free: 9.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.866e-05, allocations: 6.312 kB / 353.5 MB, free: 9.859 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.03857/0.0386, allocations: 38.73 MB / 392.3 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01491/0.05351, allocations: 11.64 MB / 403.9 MB, free: 7.539 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002994/0.05651, allocations: 111.1 kB / 404 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004836/0.06134, allocations: 2.133 MB / 406.2 MB, free: 5.285 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005121/0.06647, allocations: 1.827 MB / 408 MB, free: 3.445 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1828/0.2492, allocations: 4.476 MB / 412.5 MB, free: 35.61 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.007342/0.2566, allocations: 4.606 MB / 417.1 MB, free: 34.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.2577, allocations: 0.8227 MB / 417.9 MB, free: 34.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003273/0.2609, allocations: 2.674 MB / 420.6 MB, free: 34.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00273/0.2637, allocations: 2.125 MB / 422.7 MB, free: 34.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008901/0.2646, allocations: 426.2 kB / 423.1 MB, free: 34.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003724/0.2683, allocations: 2.283 MB / 425.4 MB, free: 34.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006622/0.2689, allocations: 1.424 MB / 426.8 MB, free: 33.49 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.2704, allocations: 1.516 MB / 428.3 MB, free: 32.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00475/0.2751, allocations: 5.926 MB / 434.2 MB, free: 30.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2751, allocations: 0 / 434.2 MB, free: 30.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2751, allocations: 0 / 434.2 MB, free: 30.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.173e-05/0.2752, allocations: 0 / 434.2 MB, free: 30.5 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.005711/0.2809, allocations: 6.05 MB / 440.3 MB, free: 26.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2809, allocations: 7.844 kB / 440.3 MB, free: 26.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/0.2831, allocations: 2.216 MB / 442.5 MB, free: 24.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.2851, allocations: 2.553 MB / 445.1 MB, free: 22.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.2853, allocations: 0.6316 MB / 445.7 MB, free: 21.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.2856, allocations: 406 kB / 446.1 MB, free: 21.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00507/0.2907, allocations: 5.899 MB / 452 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/0.2907, allocations: 192 / 452 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/0.2909, allocations: 156.6 kB / 452.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003063/0.2912, allocations: 0.6213 MB / 452.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007298/0.2985, allocations: 7.6 MB / 460.4 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02185/0.3203, allocations: 20.4 MB / 480.8 MB, free: 2.734 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/0.324, allocations: 1.61 MB / 482.4 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002536/0.3265, allocations: 1.029 MB / 483.4 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01716/0.3437, allocations: 11.91 MB / 495.3 MB, free: 4.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.3437, allocations: 58.05 kB / 495.4 MB, free: 4.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=237): time 4.919e-06/0.3437, allocations: 0 / 495.4 MB, free: 4.199 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.21396448276937]