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.000983/0.000983, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002395, allocations: 447.7 kB / 10.29 MB, free: 420 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.0006896/0.0006896, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001713, allocations: 480.2 kB / 11.64 MB, free: 2.535 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.9352/0.9352, allocations: 177.1 MB / 189.5 MB, free: 3.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1378/1.073, allocations: 53.66 MB / 243.2 MB, free: 2.391 MB / 234.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.08067/0.08067, allocations: 17.44 MB / 261.3 MB, free: 264 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009635/0.0903, allocations: 6.976 MB / 268.3 MB, free: 9.266 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.293e-06/1.293e-06, allocations: 0 / 269.5 MB, free: 8.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.656e-06/9.949e-06, allocations: 2.312 kB / 269.5 MB, free: 8.047 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.01756/0.01757, allocations: 9.544 MB / 279.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.03271, allocations: 10.52 MB / 289.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.03376, allocations: 63.5 kB / 289.7 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002795/0.03655, allocations: 1.9 MB / 291.6 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.03842, allocations: 1.241 MB / 292.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004398/0.04282, allocations: 4.145 MB / 296.9 MB, free: 12.5 MB / 298.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.002158/0.04497, allocations: 2.655 MB / 299.6 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004288/0.0454, allocations: 456.2 kB / 300 MB, free: 9.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.04653, allocations: 1.543 MB / 301.6 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009685/0.0475, allocations: 1.095 MB / 302.7 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.0477, allocations: 219.9 kB / 302.9 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002807/0.0505, allocations: 1.969 MB / 304.9 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003673/0.05087, allocations: 0.6698 MB / 305.5 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.05138, allocations: 0.6859 MB / 306.2 MB, free: 3.145 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002957/0.05433, allocations: 3.602 MB / 309.8 MB, free: 15.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.05434, allocations: 0 / 309.8 MB, free: 15.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.05434, allocations: 4 kB / 309.8 MB, free: 15.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.45e-05/0.05438, allocations: 0 / 309.8 MB, free: 15.53 MB / 314.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.003/0.05738, allocations: 3.156 MB / 313 MB, free: 12.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.05742, allocations: 8.031 kB / 313 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002301/0.05765, allocations: 358.6 kB / 313.3 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.05898, allocations: 1.148 MB / 314.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009751/0.05996, allocations: 1.011 MB / 315.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.06014, allocations: 382.1 kB / 315.9 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.0603, allocations: 204.4 kB / 316.1 MB, free: 9.113 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.06238, allocations: 2.597 MB / 318.7 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.0624, allocations: 192 / 318.7 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.283e-05/0.0625, allocations: 83.92 kB / 318.8 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/0.06269, allocations: 296.6 kB / 319 MB, free: 6.102 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.06499, allocations: 3.032 MB / 322.1 MB, free: 3.035 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1333/0.1983, allocations: 9.015 MB / 331.1 MB, free: 27.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.1995, allocations: 0.8621 MB / 332 MB, free: 27.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/0.2, allocations: 0.5033 MB / 332.5 MB, free: 27.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007075/0.2071, allocations: 6.551 MB / 339 MB, free: 25.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.2071, allocations: 44.03 kB / 339 MB, free: 25.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=151): time 3.456e-06/0.2071, allocations: 0 / 339 MB, free: 25.7 MB / 314.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.7052755327895284]