Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.debug.SimpleReaction_back.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.0007006/0.0007006, 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.0007305/0.0007305, allocations: 170.3 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.8459/0.8459, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.0841/0.0841, allocations: 17.46 MB / 276.6 MB, free: 11.75 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.SimpleReaction_back,fileNamePrefix="Chemical_master_Chemical_Examples_debug_SimpleReaction_back",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.debug.SimpleReaction_back,fileNamePrefix="Chemical_master_Chemical_Examples_debug_SimpleReaction_back",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 411.6 MB, free: 256 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.088e-05, allocations: 2.281 kB / 411.6 MB, free: 252 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Processes.mo:1084:7-1084:40: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/Processes.mo:1084:7-1084:40: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 master/Interfaces.mo:1731:7-1731: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/Interfaces.mo:1731:7-1731: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.debug.SimpleReaction_back): time 0.0227/0.02272, allocations: 29.6 MB / 441.2 MB, free: 2.723 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.155/0.1777, allocations: 9.472 MB / 450.7 MB, free: 59.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00068/0.1784, allocations: 62.78 kB / 450.7 MB, free: 59.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.1808, allocations: 1.8 MB / 452.5 MB, free: 58.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.1824, allocations: 1.255 MB / 453.8 MB, free: 57.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.1867, allocations: 3.926 MB / 457.7 MB, free: 55.23 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1332:3-1332:55:writable] Warning: Parameter r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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 r.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.002088/0.1888, allocations: 2.649 MB / 460.4 MB, free: 53.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003974/0.1892, allocations: 438.8 kB / 460.8 MB, free: 53.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007799/0.19, allocations: 1.454 MB / 462.2 MB, free: 53.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007433/0.1907, allocations: 1.133 MB / 463.4 MB, free: 52.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.1908, allocations: 220 kB / 463.6 MB, free: 52.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.1934, allocations: 1.957 MB / 465.5 MB, free: 52.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.1937, allocations: 0.7878 MB / 466.3 MB, free: 51.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004097/0.1941, allocations: 0.8109 MB / 467.1 MB, free: 51.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003167/0.1973, allocations: 4.912 MB / 472.1 MB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1973, allocations: 0 / 472.1 MB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1973, allocations: 0 / 472.1 MB, free: 49.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.843e-05/0.1973, allocations: 0 / 472.1 MB, free: 49.28 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: 662 * Number of variables: 662 Notification: Performance of Generate backend data structure: time 0.002978/0.2003, allocations: 3.162 MB / 475.2 MB, free: 47.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2003, allocations: 9.5 kB / 475.2 MB, free: 47.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/0.2005, allocations: 344.9 kB / 475.6 MB, free: 47.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.2016, allocations: 0.7019 MB / 476.3 MB, free: 46.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.2027, allocations: 1.43 MB / 477.7 MB, free: 46.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.2029, allocations: 382.8 kB / 478.1 MB, free: 45.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.2031, allocations: 206 kB / 478.3 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004782/0.2078, allocations: 8.013 MB / 486.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.2079, allocations: 384 / 486.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.208, allocations: 89.02 kB / 486.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001919/0.2082, allocations: 291.3 kB / 486.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009328/0.2175, allocations: 14.05 MB / 0.489 GB, free: 36.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.2324, allocations: 15.77 MB / 0.5044 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.2345, allocations: 2.383 MB / 0.5067 GB, free: 22.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.2361, allocations: 1.978 MB / 0.5086 GB, free: 20.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009013/0.2451, allocations: 11.21 MB / 0.5196 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.2451, allocations: 39.56 kB / 0.5196 GB, free: 10.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 3.437e-06/0.2451, allocations: 0 / 0.5196 GB, free: 10.21 MB / 410.7 MB Error: Internal error It is not possible to select continuous time states because Number of Equations 51 greater than number of States 50 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.8526687612757087] Failed to read output from testmodel.py, exit status != 0: 0.2684506708756089 0.277291 0.07849076 Calling exit ...