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.0009864/0.0009864, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.002227, allocations: 443.8 kB / 10.29 MB, free: 404 kB / 10.45 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.0007445/0.0007445, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009154/0.00166, allocations: 475.6 kB / 11.64 MB, free: 2.531 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.9143/0.9143, allocations: 177.2 MB / 189.5 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07583/0.9901, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.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.09215/0.09215, allocations: 17.45 MB / 261.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01117/0.1033, allocations: 6.963 MB / 268.3 MB, free: 6.387 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+3.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.SimpleReaction22,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReaction22",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 269.6 MB, free: 5.168 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.732e-05, allocations: 2.312 kB / 269.6 MB, free: 5.164 MB / 266.7 MB [/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. [/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. Notification: Performance of NFInst.instantiate(Chemical.Examples.SimpleReaction22): time 0.1246/0.1247, allocations: 14.85 MB / 284.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01879/0.1435, allocations: 11.88 MB / 296.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.1446, allocations: 107.1 kB / 296.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003576/0.1482, allocations: 2.166 MB / 298.6 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.1511, allocations: 1.823 MB / 300.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005624/0.1567, allocations: 4.468 MB / 304.8 MB, free: 15.23 MB / 298.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.004046/0.1608, allocations: 4.613 MB / 309.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009511/0.1617, allocations: 0.8685 MB / 310.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.1645, allocations: 2.79 MB / 313.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.1666, allocations: 2.054 MB / 315.2 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004418/0.1671, allocations: 424 kB / 315.6 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.1703, allocations: 2.285 MB / 317.9 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008256/0.1712, allocations: 1.211 MB / 319.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.1726, allocations: 1.278 MB / 320.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005/0.1776, allocations: 5.462 MB / 325.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.346e-05/0.1776, allocations: 0 / 325.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1776, allocations: 0 / 325.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.358e-05/0.1777, allocations: 0 / 325.8 MB, free: 10.1 MB / 314.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.007276/0.185, allocations: 6.24 MB / 332.1 MB, free: 3.785 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.185, allocations: 12.03 kB / 332.1 MB, free: 3.773 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005719/0.1856, allocations: 0.6464 MB / 332.7 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/0.1888, allocations: 2.039 MB / 334.8 MB, free: 1.078 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.1911, allocations: 1.708 MB / 336.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003699/0.1915, allocations: 0.6335 MB / 337.1 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004161/0.1919, allocations: 396.3 kB / 337.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005571/0.1975, allocations: 5.052 MB / 342.5 MB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.315e-05/0.1976, allocations: 6.484 kB / 342.5 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.1978, allocations: 159.9 kB / 342.7 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005408/0.1983, allocations: 0.6105 MB / 343.3 MB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005829/0.2042, allocations: 6.034 MB / 349.3 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01654/0.2207, allocations: 16.46 MB / 365.8 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.2225, allocations: 1.248 MB / 367.1 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009662/0.2234, allocations: 0.6902 MB / 367.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01064/0.2341, allocations: 9.487 MB / 377.2 MB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.2341, allocations: 48.56 kB / 377.3 MB, free: 6.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=237): time 2.845e-06/0.2341, allocations: 0 / 377.3 MB, free: 6.172 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: 1.6918043522164226]