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.0009153/0.0009153, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009537/0.0009537, allocations: 216 kB / 22.25 MB, free: 3.578 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 0.9962/0.9962, allocations: 230.6 MB / 256 MB, free: 9.645 MB / 202.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.1045/0.1045, allocations: 24.01 MB / 336.4 MB, free: 9.852 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 75.88 kB / 472.9 MB, free: 16.17 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1177, allocations: 59.9 MB / 0.5203 GB, free: 4.156 MB / 378.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.4177/0.5354, allocations: 40.88 MB / 0.5602 GB, free: 4.551 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.5476, allocations: 10.11 MB / 0.5701 GB, free: 1.566 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.5487, allocations: 84.56 kB / 0.5702 GB, free: 1.523 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004111/0.5528, allocations: 1.919 MB / 0.572 GB, free: 0.5547 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003004/0.5558, allocations: 1.484 MB / 0.5735 GB, free: 15.6 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006341/0.5621, allocations: 4.041 MB / 0.5774 GB, free: 13.15 MB / 426.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.004597/0.5667, allocations: 3.516 MB / 0.5809 GB, free: 11.48 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007833/0.5675, allocations: 0.6122 MB / 0.5815 GB, free: 11.18 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.5691, allocations: 1.441 MB / 0.5829 GB, free: 10.52 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.5709, allocations: 1.84 MB / 0.5847 GB, free: 9.422 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.5711, allocations: 327.9 kB / 0.585 GB, free: 9.422 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004652/0.5758, allocations: 2.165 MB / 0.5871 GB, free: 8.594 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005692/0.5764, allocations: 1.084 MB / 0.5881 GB, free: 7.82 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0008546/0.5772, allocations: 1.467 MB / 0.5896 GB, free: 6.895 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005367/0.5826, allocations: 6.332 MB / 0.5958 GB, free: 2.543 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5826, allocations: 0 / 0.5958 GB, free: 2.543 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5826, allocations: 0 / 0.5958 GB, free: 2.543 MB / 426.8 MB Notification: Performance of Transformations before backend: time 3.004e-05/0.5826, allocations: 0 / 0.5958 GB, free: 2.543 MB / 426.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.004314/0.5869, allocations: 4.453 MB / 0.6001 GB, free: 15.48 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.587, allocations: 14.8 kB / 0.6001 GB, free: 15.47 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003591/0.5873, allocations: 494.7 kB / 0.6006 GB, free: 15.11 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.5887, allocations: 0.948 MB / 0.6015 GB, free: 14.6 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.5906, allocations: 2.002 MB / 0.6035 GB, free: 13.06 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.5909, allocations: 0.5087 MB / 0.604 GB, free: 12.62 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/0.5912, allocations: 307.1 kB / 0.6043 GB, free: 12.52 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007683/0.5988, allocations: 11.92 MB / 0.6159 GB, free: 6.301 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.5989, allocations: 0 / 0.6159 GB, free: 6.301 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002407/0.5991, allocations: 124.8 kB / 0.616 GB, free: 6.203 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000243/0.5994, allocations: 452.5 kB / 0.6165 GB, free: 6.051 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.6123, allocations: 21.03 MB / 0.637 GB, free: 5.828 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02238/0.6347, allocations: 23.6 MB / 0.66 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00423/0.6389, allocations: 4.676 MB / 0.6646 GB, free: 9.422 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003089/0.642, allocations: 3.621 MB / 0.6681 GB, free: 5.801 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01506/0.6571, allocations: 15.52 MB / 0.6833 GB, free: 6.234 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.6571, allocations: 47.86 kB / 0.6833 GB, free: 6.176 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=200): time 3.416e-06/0.6571, allocations: 0 / 0.6833 GB, free: 6.176 MB / 0.4949 GB 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.7002820586785674]