Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.SimpleReactionsWithJunction3.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.0006633/0.0006633, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008952/0.001559, 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.0007392/0.0007392, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009359/0.001675, 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.9593/0.9593, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08352/1.043, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.08187/0.08187, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009455/0.09132, allocations: 6.964 MB / 268.3 MB, free: 6.398 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.SimpleReactionsWithJunction3,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReactionsWithJunction3",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.SimpleReactionsWithJunction3,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReactionsWithJunction3",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 269.5 MB, free: 5.188 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.572e-05, allocations: 9.766 kB / 269.6 MB, free: 5.18 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.SimpleReactionsWithJunction3): time 0.1284/0.1284, allocations: 9.535 MB / 279.1 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01614/0.1445, allocations: 10.52 MB / 289.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009661/0.1455, allocations: 61.59 kB / 289.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003441/0.1489, allocations: 1.898 MB / 291.6 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.1515, allocations: 1.237 MB / 292.8 MB, free: 8.531 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004982/0.1565, allocations: 4.144 MB / 297 MB, free: 5.43 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_ref.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_ref.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_ref.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_ref.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_ref.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_ref.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_ref.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_ref.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_ref.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_ref.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_ref.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.002314/0.1588, allocations: 2.657 MB / 299.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004982/0.1593, allocations: 463.3 kB / 300.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.1606, allocations: 1.543 MB / 301.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.1617, allocations: 1.095 MB / 302.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.1619, allocations: 216 kB / 302.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/0.165, allocations: 1.984 MB / 304.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003814/0.1654, allocations: 0.6542 MB / 305.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005957/0.166, allocations: 0.6936 MB / 306.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00392/0.1699, allocations: 3.594 MB / 309.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.1699, allocations: 3.938 kB / 309.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1699, allocations: 0 / 309.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.932e-05/0.17, 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.003834/0.1738, allocations: 3.703 MB / 313.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1738, allocations: 8.031 kB / 313.6 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002307/0.1741, allocations: 354.6 kB / 313.9 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.1755, allocations: 1.157 MB / 315.1 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.1766, allocations: 1.007 MB / 316.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.1768, allocations: 382.1 kB / 316.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.177, allocations: 208.3 kB / 316.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.1792, allocations: 2.589 MB / 319.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.1793, allocations: 3.094 kB / 319.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-05/0.1794, allocations: 83.92 kB / 319.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/0.1796, allocations: 292.6 kB / 319.6 MB, free: 216 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.182, allocations: 3.036 MB / 322.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009744/0.1917, allocations: 9.016 MB / 331.7 MB, free: 4.043 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.1929, allocations: 0.8792 MB / 332.5 MB, free: 3.156 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.1935, allocations: 0.4887 MB / 333 MB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007177/0.2007, allocations: 6.557 MB / 339.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.2007, allocations: 43.56 kB / 339.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=151): time 3.086e-06/0.2007, allocations: 0 / 339.6 MB, free: 12.03 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.673135177232325]