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.001212/0.001212, 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.001576/0.001576, 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.9386/0.9386, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.09187/0.09187, allocations: 17.45 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.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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 413.2 MB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.538e-05, allocations: 2.281 kB / 413.2 MB, free: 14.69 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.SimpleReaction22): time 0.3485/0.3485, allocations: 43.18 MB / 456.3 MB, free: 41.91 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.3622, allocations: 10.74 MB / 467.1 MB, free: 38.5 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002865/0.365, allocations: 106.8 kB / 467.2 MB, free: 38.45 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004274/0.3693, allocations: 2.079 MB / 469.3 MB, free: 37.39 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004466/0.3738, allocations: 1.826 MB / 471.1 MB, free: 36.18 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006021/0.3798, allocations: 4.238 MB / 475.3 MB, free: 33.59 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.005268/0.3851, allocations: 4.595 MB / 479.9 MB, free: 31.29 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.3862, allocations: 0.8291 MB / 480.8 MB, free: 30.84 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004907/0.3911, allocations: 2.653 MB / 483.4 MB, free: 29.69 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003466/0.3946, allocations: 2.135 MB / 485.5 MB, free: 28.97 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.3956, allocations: 427.3 kB / 486 MB, free: 28.97 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005759/0.4014, allocations: 2.276 MB / 488.2 MB, free: 28.46 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001506/0.4029, allocations: 1.432 MB / 489.7 MB, free: 27.64 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003338/0.4062, allocations: 1.518 MB / 491.2 MB, free: 26.95 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.4171, allocations: 7.807 MB / 499 MB, free: 23.49 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4171, allocations: 0 / 499 MB, free: 23.49 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4171, allocations: 0 / 499 MB, free: 23.49 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0003254/0.4175, allocations: 0 / 499 MB, free: 23.49 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: 1267 * Number of variables: 1267 Notification: Performance of Generate backend data structure: time 0.01392/0.4314, allocations: 5.587 MB / 0.4928 GB, free: 20.45 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4314, allocations: 10.94 kB / 0.4928 GB, free: 20.45 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001082/0.4325, allocations: 0.6223 MB / 0.4934 GB, free: 20.11 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0029/0.4354, allocations: 1.146 MB / 0.4945 GB, free: 19.64 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004541/0.44, allocations: 2.561 MB / 0.497 GB, free: 18.04 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004228/0.4404, allocations: 0.6396 MB / 0.4976 GB, free: 17.52 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005826/0.441, allocations: 397.4 kB / 0.498 GB, free: 17.39 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01688/0.4579, allocations: 15.86 MB / 0.5135 GB, free: 10.3 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.598e-05/0.4579, allocations: 192 / 0.5135 GB, free: 10.3 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/0.4582, allocations: 168.2 kB / 0.5136 GB, free: 10.16 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004625/0.4587, allocations: 0.6105 MB / 0.5142 GB, free: 9.953 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02075/0.4794, allocations: 28.07 MB / 0.5416 GB, free: 1.289 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03622/0.5157, allocations: 29.24 MB / 0.5702 GB, free: 3.934 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006024/0.5217, allocations: 5.141 MB / 0.5752 GB, free: 14.79 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003974/0.5257, allocations: 3.907 MB / 0.579 GB, free: 10.87 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01977/0.5454, allocations: 17.22 MB / 0.5959 GB, free: 9.605 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.5455, allocations: 52.56 kB / 0.5959 GB, free: 9.543 MB / 490.8 MB Notification: Performance of pre-optimization done (n=237): time 3.627e-06/0.5455, allocations: 0 / 0.5959 GB, free: 9.543 MB / 490.8 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 659] [Calling sys.exit(0), Time elapsed: 2.6409004917368293]