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.0007689/0.0007689, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008173/0.0008173, allocations: 165.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.8243/0.8243, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08043/0.08043, allocations: 17.44 MB / 276.6 MB, free: 11.78 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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: "" <> buildModelFMU(Chemical.Examples.debug.SimpleReaction2_,fileNamePrefix="Chemical_master_Chemical_Examples_debug_SimpleReaction2_",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.debug.SimpleReaction2_,fileNamePrefix="Chemical_master_Chemical_Examples_debug_SimpleReaction2_",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 411.6 MB, free: 260 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.328e-06/1.047e-05, allocations: 2.281 kB / 411.6 MB, free: 256 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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 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 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.02142/0.02143, allocations: 31.93 MB / 443.5 MB, free: 388 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1639/0.1854, allocations: 10.11 MB / 453.6 MB, free: 57.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009393/0.1863, allocations: 84.78 kB / 453.7 MB, free: 57.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.1888, allocations: 1.937 MB / 455.7 MB, free: 56.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.1905, allocations: 1.543 MB / 457.2 MB, free: 55.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003306/0.1938, allocations: 4.08 MB / 461.3 MB, free: 52.89 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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 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 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 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 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 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 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 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 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 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.001776/0.1956, allocations: 3.63 MB / 464.9 MB, free: 51.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004994/0.1961, allocations: 0.6225 MB / 465.5 MB, free: 50.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.1972, allocations: 2.082 MB / 467.6 MB, free: 49.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.1982, allocations: 1.652 MB / 469.3 MB, free: 49.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.1984, allocations: 332.9 kB / 469.6 MB, free: 49.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.2007, allocations: 2.171 MB / 471.8 MB, free: 48.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.2011, allocations: 1.117 MB / 472.9 MB, free: 48.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005805/0.2017, allocations: 1.18 MB / 474.1 MB, free: 47.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00314/0.2048, allocations: 6.424 MB / 480.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2048, allocations: 2.656 kB / 480.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2048, allocations: 0 / 480.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.003e-05/0.2048, allocations: 0 / 480.5 MB, free: 44.84 MB / 410.7 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.003702/0.2085, allocations: 4.411 MB / 484.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2086, allocations: 9.844 kB / 484.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003554/0.2089, allocations: 491.2 kB / 485.4 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.2103, allocations: 0.9489 MB / 486.3 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.212, allocations: 2.006 MB / 488.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.2122, allocations: 0.5133 MB / 488.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.2125, allocations: 303.4 kB / 489.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0088/0.2213, allocations: 11.91 MB / 0.4893 GB, free: 34.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/0.2213, allocations: 1.844 kB / 0.4893 GB, free: 34.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.2215, allocations: 123.5 kB / 0.4894 GB, free: 34.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003523/0.2218, allocations: 450.8 kB / 0.4899 GB, free: 34.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.233, allocations: 21.05 MB / 0.5104 GB, free: 19.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01752/0.2505, allocations: 23.59 MB / 0.5335 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00439/0.2549, allocations: 4.678 MB / 0.538 GB, free: 7.457 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003014/0.2579, allocations: 3.627 MB / 0.5416 GB, free: 3.832 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0148/0.2727, allocations: 15.52 MB / 0.5567 GB, free: 4.277 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.2727, allocations: 47.88 kB / 0.5568 GB, free: 4.223 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 2.726e-06/0.2727, allocations: 2.656 kB / 0.5568 GB, free: 4.223 MB / 442.7 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 660] [Calling sys.exit(0), Time elapsed: 1.8300655176863074] Failed to read output from testmodel.py, exit status != 0: 0.30420459900051355 0.312479793 0.105882556 Calling exit ...