Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.debug.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.00107/0.00107, allocations: 84.44 kB / 19.17 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.001079/0.001079, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9934/0.9934, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.09095/0.09095, allocations: 17.46 MB / 276.7 MB, free: 11.76 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.debug.SimpleReaction2_,fileNamePrefix="Chemical_master_Chemical_Examples_debug_SimpleReaction2_",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.debug.SimpleReaction2_,fileNamePrefix="Chemical_master_Chemical_Examples_debug_SimpleReaction2_",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 413.2 MB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.306e-05, allocations: 2.281 kB / 413.2 MB, free: 14.66 MB / 394.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.debug.SimpleReaction2_): time 0.36/0.36, allocations: 40.88 MB / 454.1 MB, free: 42.45 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.3706, allocations: 10.11 MB / 464.2 MB, free: 38.74 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.3724, allocations: 82.22 kB / 464.3 MB, free: 38.7 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.3757, allocations: 1.932 MB / 466.2 MB, free: 37.71 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.3789, allocations: 1.538 MB / 467.7 MB, free: 36.7 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004711/0.3837, allocations: 4.09 MB / 471.8 MB, free: 34.21 MB / 410.8 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.00434/0.388, allocations: 3.62 MB / 475.4 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007564/0.3888, allocations: 0.6272 MB / 476.1 MB, free: 32.1 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.391, allocations: 2.08 MB / 478.1 MB, free: 31.2 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.3927, allocations: 1.654 MB / 479.8 MB, free: 30.64 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003439/0.393, allocations: 332.8 kB / 480.1 MB, free: 30.63 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003901/0.3969, allocations: 2.172 MB / 482.3 MB, free: 30.12 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0006455/0.3976, allocations: 1.109 MB / 483.4 MB, free: 29.5 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.3989, allocations: 1.179 MB / 484.6 MB, free: 28.96 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.007345/0.4063, allocations: 6.444 MB / 491 MB, free: 26.11 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4063, allocations: 0 / 491 MB, free: 26.11 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4063, allocations: 1.062 kB / 491 MB, free: 26.11 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0001209/0.4064, allocations: 0 / 491 MB, free: 26.11 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 969 * Number of variables: 969 Notification: Performance of Generate backend data structure: time 0.008177/0.4146, allocations: 4.395 MB / 495.4 MB, free: 23.66 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.4146, allocations: 10.09 kB / 495.4 MB, free: 23.66 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000665/0.4153, allocations: 497.7 kB / 495.9 MB, free: 23.38 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.418, allocations: 0.951 MB / 496.9 MB, free: 23.01 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003238/0.4212, allocations: 2.006 MB / 498.9 MB, free: 21.75 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003176/0.4216, allocations: 0.5119 MB / 499.4 MB, free: 21.32 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004502/0.422, allocations: 304.4 kB / 499.7 MB, free: 21.22 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/0.4327, allocations: 11.91 MB / 0.4996 GB, free: 16.17 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.431e-05/0.4327, allocations: 3.844 kB / 0.4996 GB, free: 16.17 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.433, allocations: 127.5 kB / 0.4997 GB, free: 16.07 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004192/0.4334, allocations: 447.3 kB / 0.5001 GB, free: 15.98 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.4467, allocations: 21.04 MB / 0.5207 GB, free: 7.047 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02785/0.4745, allocations: 23.59 MB / 0.5437 GB, free: 15.37 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004829/0.4793, allocations: 4.688 MB / 0.5483 GB, free: 10.67 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003369/0.4827, allocations: 3.625 MB / 0.5518 GB, free: 7.047 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01611/0.4988, allocations: 15.52 MB / 0.567 GB, free: 7.48 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.4988, allocations: 51.88 kB / 0.567 GB, free: 7.422 MB / 458.8 MB Notification: Performance of pre-optimization done (n=200): time 3.637e-06/0.4988, allocations: 0 / 0.567 GB, free: 7.422 MB / 458.8 MB Error: Internal error It is not possible to select continuous time states because Number of Equations 61 greater than number of States 60 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 659] [Calling sys.exit(0), Time elapsed: 2.4065080592408776]