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.001051/0.001051, allocations: 84.44 kB / 19.18 MB, free: 0.7383 MB / 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.001377/0.001377, allocations: 173.9 kB / 22.46 MB, free: 2.102 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 0.9588/0.9588, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.1055/0.1055, allocations: 17.44 MB / 276.6 MB, free: 11.77 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Examples.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReaction2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReaction2",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 413.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.599e-05, allocations: 2.984 kB / 413.1 MB, free: 11.85 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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.04511/0.04513, allocations: 40.88 MB / 454 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01483/0.05997, allocations: 10.12 MB / 464.1 MB, free: 5.371 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/0.06246, allocations: 83.31 kB / 464.2 MB, free: 5.289 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004839/0.06729, allocations: 1.938 MB / 466.2 MB, free: 3.375 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004269/0.07156, allocations: 1.532 MB / 467.7 MB, free: 1.832 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005761/0.07732, allocations: 4.088 MB / 471.8 MB, free: 13.73 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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.00454/0.08186, allocations: 3.614 MB / 475.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007271/0.08259, allocations: 0.5622 MB / 476 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.08488, allocations: 2.035 MB / 478 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.08649, allocations: 1.629 MB / 479.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003616/0.08685, allocations: 316 kB / 479.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003963/0.09081, allocations: 2.043 MB / 482 MB, free: 3.469 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000686/0.0915, allocations: 1.098 MB / 483.1 MB, free: 2.367 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.09347, allocations: 1.153 MB / 484.2 MB, free: 1.211 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008257/0.1017, allocations: 6.259 MB / 490.5 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.1017, allocations: 0 / 490.5 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1017, allocations: 4 kB / 490.5 MB, free: 10.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001811/0.1019, allocations: 0 / 490.5 MB, free: 10.93 MB / 394.7 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.007576/0.1095, allocations: 4.324 MB / 494.8 MB, free: 6.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1095, allocations: 11.97 kB / 494.8 MB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000444/0.11, allocations: 494.7 kB / 495.3 MB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.1116, allocations: 0.896 MB / 496.2 MB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.1139, allocations: 1.966 MB / 498.2 MB, free: 3.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004014/0.1143, allocations: 0.5072 MB / 498.7 MB, free: 2.562 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/0.1146, allocations: 296.3 kB / 499 MB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.1251, allocations: 11.94 MB / 0.4989 GB, free: 6.297 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.872e-05/0.1251, allocations: 192 / 0.4989 GB, free: 6.297 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.1253, allocations: 123.9 kB / 0.499 GB, free: 6.176 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003445/0.1256, allocations: 470.8 kB / 0.4995 GB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01565/0.1413, allocations: 21.04 MB / 0.52 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02472/0.166, allocations: 21.44 MB / 0.541 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/0.1689, allocations: 2.775 MB / 0.5437 GB, free: 8.316 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002153/0.1711, allocations: 2.263 MB / 0.5459 GB, free: 6.051 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0141/0.1852, allocations: 12.89 MB / 0.5585 GB, free: 9.113 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.1852, allocations: 43.88 kB / 0.5585 GB, free: 9.062 MB / 474.7 MB Notification: Performance of pre-optimization done (n=188): time 3.838e-06/0.1852, allocations: 0 / 0.5585 GB, free: 9.062 MB / 474.7 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.434711336158216]