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.001513/0.001513, allocations: 101.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.001708/0.001708, allocations: 218.5 kB / 22.25 MB, free: 3.711 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 1.001/1.001, allocations: 230.6 MB / 256 MB, free: 9.609 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.1182/0.1182, allocations: 24.01 MB / 336.4 MB, free: 9.844 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.debug.SimpleReaction_back,fileNamePrefix="Chemical_master_Chemical_Examples_debug_SimpleReaction_back",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.debug.SimpleReaction_back,fileNamePrefix="Chemical_master_Chemical_Examples_debug_SimpleReaction_back",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.001587/0.001587, allocations: 68.17 kB / 472.9 MB, free: 16.18 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1067, allocations: 59.91 MB / 0.5203 GB, free: 4.164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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.3934/0.5001, allocations: 38.54 MB / 0.5579 GB, free: 5.762 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.5116, allocations: 9.465 MB / 0.5672 GB, free: 2.719 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009741/0.5125, allocations: 63.44 kB / 0.5672 GB, free: 2.688 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.5159, allocations: 1.796 MB / 0.569 GB, free: 1.793 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.5179, allocations: 1.208 MB / 0.5702 GB, free: 1.047 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005247/0.5232, allocations: 3.874 MB / 0.5739 GB, free: 14.74 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 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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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 2.0.1-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.002504/0.5257, allocations: 2.584 MB / 0.5765 GB, free: 13.55 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005993/0.5263, allocations: 428.9 kB / 0.5769 GB, free: 13.32 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008849/0.5272, allocations: 1.011 MB / 0.5779 GB, free: 12.86 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.5284, allocations: 1.273 MB / 0.5791 GB, free: 12.35 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.5286, allocations: 216.8 kB / 0.5793 GB, free: 12.35 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.5318, allocations: 1.939 MB / 0.5812 GB, free: 11.88 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004477/0.5322, allocations: 0.7658 MB / 0.582 GB, free: 11.39 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0005805/0.5328, allocations: 1.02 MB / 0.5829 GB, free: 10.75 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003434/0.5363, allocations: 4.828 MB / 0.5877 GB, free: 7.461 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5363, allocations: 0 / 0.5877 GB, free: 7.461 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5363, allocations: 0 / 0.5877 GB, free: 7.461 MB / 426.8 MB Notification: Performance of Transformations before backend: time 2.539e-05/0.5363, allocations: 0 / 0.5877 GB, free: 7.461 MB / 426.8 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.003247/0.5395, allocations: 3.189 MB / 0.5908 GB, free: 5.23 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.5396, allocations: 11.27 kB / 0.5908 GB, free: 5.227 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002408/0.5398, allocations: 350.3 kB / 0.5911 GB, free: 4.965 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.541, allocations: 0.7003 MB / 0.5918 GB, free: 4.602 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.5424, allocations: 1.43 MB / 0.5932 GB, free: 3.473 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.5426, allocations: 387.2 kB / 0.5936 GB, free: 3.141 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.5428, allocations: 210.8 kB / 0.5938 GB, free: 3.07 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005066/0.5479, allocations: 8.014 MB / 0.6016 GB, free: 14.88 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.5479, allocations: 0 / 0.6016 GB, free: 14.88 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.548, allocations: 81.86 kB / 0.6017 GB, free: 14.82 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/0.5482, allocations: 294.1 kB / 0.602 GB, free: 14.71 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008237/0.5564, allocations: 14.06 MB / 0.6157 GB, free: 8.504 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/0.5705, allocations: 15.76 MB / 0.6311 GB, free: 11.47 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.5729, allocations: 2.384 MB / 0.6334 GB, free: 9.086 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.5747, allocations: 1.987 MB / 0.6353 GB, free: 7.102 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01095/0.5857, allocations: 11.18 MB / 0.6463 GB, free: 11.89 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.5857, allocations: 39.56 kB / 0.6463 GB, free: 11.84 MB / 474.8 MB Notification: Performance of pre-optimization done (n=151): time 2.184e-06/0.5857, allocations: 0 / 0.6463 GB, free: 11.84 MB / 474.8 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 659] [Calling sys.exit(0), Time elapsed: 2.619563991203904]