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.001075/0.001075, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001157/0.001157, allocations: 215.5 kB / 22.25 MB, free: 3.578 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.069/1.069, allocations: 230.6 MB / 256 MB, free: 9.66 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.1225/0.1225, allocations: 24 MB / 336.4 MB, free: 9.879 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.SimpleReaction2__,fileNamePrefix="Chemical_master_Chemical_Examples_debug_SimpleReaction2__",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.debug.SimpleReaction2__,fileNamePrefix="Chemical_master_Chemical_Examples_debug_SimpleReaction2__",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.001527/0.001527, allocations: 71.88 kB / 472.9 MB, free: 16.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1037, allocations: 59.91 MB / 0.5203 GB, free: 4.191 MB / 378.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.debug.SimpleReaction2__): time 0.4172/0.5209, allocations: 40.87 MB / 0.5602 GB, free: 4.586 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.5313, allocations: 10.1 MB / 0.5701 GB, free: 1.609 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.5325, allocations: 83.72 kB / 0.5701 GB, free: 1.566 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00339/0.5359, allocations: 1.923 MB / 0.572 GB, free: 0.5938 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.5383, allocations: 1.48 MB / 0.5735 GB, free: 15.64 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005752/0.5441, allocations: 4.049 MB / 0.5774 GB, free: 13.19 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 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.003728/0.5478, allocations: 3.503 MB / 0.5808 GB, free: 11.54 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006446/0.5484, allocations: 0.5416 MB / 0.5814 GB, free: 11.26 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.55, allocations: 1.429 MB / 0.5828 GB, free: 10.61 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.5516, allocations: 1.817 MB / 0.5845 GB, free: 9.516 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.5519, allocations: 314.2 kB / 0.5848 GB, free: 9.516 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003648/0.5555, allocations: 2.028 MB / 0.5868 GB, free: 8.754 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005646/0.5561, allocations: 1.056 MB / 0.5879 GB, free: 8.008 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0007934/0.5569, allocations: 1.439 MB / 0.5893 GB, free: 7.098 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004844/0.5617, allocations: 6.19 MB / 0.5953 GB, free: 2.848 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5617, allocations: 4 kB / 0.5953 GB, free: 2.844 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5617, allocations: 0 / 0.5953 GB, free: 2.844 MB / 426.8 MB Notification: Performance of Transformations before backend: time 3.642e-05/0.5617, allocations: 0 / 0.5953 GB, free: 2.844 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: 960 * Number of variables: 960 Notification: Performance of Generate backend data structure: time 0.004142/0.5659, allocations: 4.368 MB / 0.5996 GB, free: 15.83 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5659, allocations: 10.92 kB / 0.5996 GB, free: 15.83 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003527/0.5663, allocations: 484.7 kB / 0.6 GB, free: 15.47 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.5676, allocations: 0.8926 MB / 0.6009 GB, free: 14.99 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.5694, allocations: 1.979 MB / 0.6028 GB, free: 13.46 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/0.5697, allocations: 0.5045 MB / 0.6033 GB, free: 13.02 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/0.5699, allocations: 300.1 kB / 0.6036 GB, free: 12.92 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007624/0.5775, allocations: 11.94 MB / 0.6153 GB, free: 6.699 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.5776, allocations: 4 kB / 0.6153 GB, free: 6.695 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.5777, allocations: 121.5 kB / 0.6154 GB, free: 6.598 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002553/0.578, allocations: 463.8 kB / 0.6159 GB, free: 6.445 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.5909, allocations: 21.05 MB / 0.6364 GB, free: 6.488 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01973/0.6107, allocations: 21.47 MB / 0.6574 GB, free: 0.8984 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/0.6138, allocations: 2.783 MB / 0.6601 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/0.6158, allocations: 2.259 MB / 0.6623 GB, free: 11.84 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01218/0.6279, allocations: 12.88 MB / 0.6749 GB, free: 14.92 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.628, allocations: 47.88 kB / 0.6749 GB, free: 14.86 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=188): time 2.765e-06/0.628, allocations: 3.938 kB / 0.6749 GB, free: 14.86 MB / 0.4949 GB Error: Internal error It is not possible to select continuous time states because Number of Equations 58 greater than number of States 57 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 659] [Calling sys.exit(0), Time elapsed: 2.856051786802709]