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.001365/0.001365, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.001521/0.001521, allocations: 214.6 kB / 22.25 MB, free: 3.574 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.9903/0.9903, allocations: 230.6 MB / 256 MB, free: 9.621 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.09914/0.09914, allocations: 24.01 MB / 336.5 MB, free: 9.867 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.SimpleReaction22,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReaction22",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.SimpleReaction22,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReaction22",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.001495/0.001495, allocations: 77.92 kB / 472.9 MB, free: 16.07 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09434, allocations: 59.89 MB / 0.5203 GB, free: 4.062 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.SimpleReaction22): time 0.4029/0.4973, allocations: 43.18 MB / 0.5624 GB, free: 2.996 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.5085, allocations: 10.73 MB / 0.5729 GB, free: 220 kB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/0.5106, allocations: 107.3 kB / 0.573 GB, free: 164 kB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004555/0.5152, allocations: 2.044 MB / 0.575 GB, free: 15.12 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005358/0.5205, allocations: 1.767 MB / 0.5768 GB, free: 13.98 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007528/0.5281, allocations: 4.206 MB / 0.5809 GB, free: 11.43 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.006569/0.5346, allocations: 4.449 MB / 0.5852 GB, free: 8.965 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.5358, allocations: 0.8333 MB / 0.586 GB, free: 8.422 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002671/0.5384, allocations: 1.839 MB / 0.5878 GB, free: 7.398 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/0.5415, allocations: 2.371 MB / 0.5901 GB, free: 5.98 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0006404/0.5422, allocations: 425.1 kB / 0.5905 GB, free: 5.98 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004865/0.547, allocations: 2.25 MB / 0.5927 GB, free: 5.16 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0008951/0.5479, allocations: 1.405 MB / 0.5941 GB, free: 4.152 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.5496, allocations: 1.88 MB / 0.5959 GB, free: 2.961 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009772/0.5594, allocations: 7.701 MB / 0.6035 GB, free: 13.65 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.5594, allocations: 3.562 kB / 0.6035 GB, free: 13.65 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.826e-06/0.5594, allocations: 0 / 0.6035 GB, free: 13.65 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0002059/0.5596, allocations: 0 / 0.6035 GB, free: 13.65 MB / 442.8 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.009872/0.5695, allocations: 5.63 MB / 0.609 GB, free: 9.828 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.5695, allocations: 18.8 kB / 0.609 GB, free: 9.82 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007602/0.5703, allocations: 0.6232 MB / 0.6096 GB, free: 9.355 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002512/0.5728, allocations: 1.147 MB / 0.6107 GB, free: 8.73 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003804/0.5766, allocations: 2.557 MB / 0.6132 GB, free: 6.758 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004451/0.5771, allocations: 0.645 MB / 0.6138 GB, free: 6.219 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004506/0.5775, allocations: 409.3 kB / 0.6142 GB, free: 6.07 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/0.5892, allocations: 15.84 MB / 0.6297 GB, free: 13.38 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.585e-05/0.5892, allocations: 0 / 0.6297 GB, free: 13.38 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.5894, allocations: 164 kB / 0.6299 GB, free: 13.21 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003787/0.5898, allocations: 0.6066 MB / 0.6305 GB, free: 12.61 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01843/0.6082, allocations: 28.09 MB / 0.6579 GB, free: 0.5 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03092/0.6392, allocations: 29.23 MB / 0.6864 GB, free: 3.113 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004967/0.6441, allocations: 5.114 MB / 0.6914 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003715/0.6478, allocations: 3.92 MB / 0.6952 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01868/0.6665, allocations: 17.21 MB / 0.7121 GB, free: 8.812 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.6666, allocations: 56.5 kB / 0.7121 GB, free: 8.75 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=237): time 3.426e-06/0.6666, allocations: 0 / 0.7121 GB, free: 8.75 MB / 0.5262 GB 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 659] [Calling sys.exit(0), Time elapsed: 2.639262597076595]