Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.SimpleReaction.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.0008907/0.0008907, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001902, allocations: 443.8 kB / 10.29 MB, free: 404 kB / 10.45 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.0007069/0.0007069, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009548/0.001662, allocations: 475.6 kB / 11.64 MB, free: 2.531 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 0.9427/0.9427, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07644/1.019, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.0843/0.0843, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01026/0.09455, allocations: 6.956 MB / 268.3 MB, free: 6.402 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.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReaction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReaction",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 269.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.697e-05, allocations: 2.312 kB / 269.6 MB, free: 5.176 MB / 266.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.SimpleReaction): time 0.1179/0.1179, allocations: 9.525 MB / 279.1 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01585/0.1338, allocations: 10.53 MB / 289.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.1348, allocations: 61.75 kB / 289.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.1378, allocations: 1.898 MB / 291.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.1399, allocations: 1.241 MB / 292.8 MB, free: 8.531 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004854/0.1448, allocations: 4.134 MB / 296.9 MB, free: 5.438 MB / 282.7 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.002332/0.1471, allocations: 2.666 MB / 299.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005044/0.1476, allocations: 458.2 kB / 300.1 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.1489, allocations: 1.54 MB / 301.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.1501, allocations: 1.095 MB / 302.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.1503, allocations: 216 kB / 302.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/0.1533, allocations: 1.981 MB / 304.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003697/0.1536, allocations: 0.662 MB / 305.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005281/0.1542, allocations: 0.6936 MB / 306.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002933/0.1571, allocations: 3.59 MB / 309.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.1571, allocations: 0 / 309.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1571, allocations: 4 kB / 309.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.034e-05/0.1572, allocations: 0 / 309.8 MB, free: 10.18 MB / 298.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.003423/0.1606, allocations: 3.707 MB / 313.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1606, allocations: 8.031 kB / 313.6 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002263/0.1608, allocations: 350.6 kB / 313.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.1622, allocations: 1.152 MB / 315 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.1632, allocations: 1.011 MB / 316.1 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.1634, allocations: 386 kB / 316.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.1635, allocations: 200.4 kB / 316.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.1657, allocations: 2.6 MB / 319.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.1658, allocations: 1.438 kB / 319.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.165e-05/0.1659, allocations: 83.92 kB / 319.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002231/0.1661, allocations: 300.6 kB / 319.6 MB, free: 204 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/0.1686, allocations: 3.028 MB / 322.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008859/0.1774, allocations: 9.008 MB / 331.6 MB, free: 4.047 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.1784, allocations: 0.8791 MB / 332.5 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/0.179, allocations: 0.4887 MB / 333 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006718/0.1857, allocations: 6.557 MB / 339.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1857, allocations: 43.56 kB / 339.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=151): time 1.824e-06/0.1857, allocations: 0 / 339.6 MB, free: 12.04 MB / 330.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.6574207451194525]