Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.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.0009662/0.0009662, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002309, 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.0006962/0.0006962, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009367/0.001633, 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.9191/0.9191, allocations: 177.1 MB / 189.5 MB, free: 3.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1843/1.103, allocations: 53.66 MB / 243.2 MB, free: 2.398 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.1106/0.1106, allocations: 17.44 MB / 261.4 MB, free: 260 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0173/0.1279, allocations: 6.966 MB / 268.3 MB, free: 9.277 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.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReaction2",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReaction2",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 269.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.609e-05, allocations: 6.25 kB / 269.5 MB, free: 8.047 MB / 266.7 MB [/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. [/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. Notification: Performance of NFInst.instantiate(Chemical.Examples.SimpleReaction2): time 0.02486/0.02488, allocations: 12.21 MB / 281.8 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01882/0.04371, allocations: 11.19 MB / 292.9 MB, free: 0.543 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.04536, allocations: 83.31 kB / 293 MB, free: 472 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003541/0.0489, allocations: 2.043 MB / 295.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.0523, allocations: 1.524 MB / 296.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006066/0.05837, allocations: 4.309 MB / 300.9 MB, free: 8.543 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 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.004039/0.06241, allocations: 3.634 MB / 304.5 MB, free: 4.902 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007066/0.06311, allocations: 0.5623 MB / 305.1 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.06558, allocations: 2.16 MB / 307.3 MB, free: 2.098 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.06725, allocations: 1.566 MB / 308.8 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004491/0.06769, allocations: 308 kB / 309.1 MB, free: 232 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/0.07089, allocations: 2.07 MB / 311.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005366/0.07143, allocations: 0.9268 MB / 312.1 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.07252, allocations: 0.9742 MB / 313.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004872/0.07739, allocations: 4.469 MB / 317.6 MB, free: 7.762 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.0774, allocations: 0 / 317.6 MB, free: 7.762 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.0774, allocations: 3.938 kB / 317.6 MB, free: 7.758 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000117/0.07752, allocations: 0 / 317.6 MB, free: 7.758 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: 960 * Number of variables: 960 Notification: Performance of Generate backend data structure: time 0.005114/0.08263, allocations: 4.174 MB / 321.7 MB, free: 3.516 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.08267, allocations: 12.03 kB / 321.8 MB, free: 3.504 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004133/0.08309, allocations: 498.2 kB / 322.2 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.08535, allocations: 1.57 MB / 323.8 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.08714, allocations: 1.35 MB / 325.2 MB, free: 40 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1249/0.2121, allocations: 0.4941 MB / 325.7 MB, free: 25.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005875/0.2127, allocations: 297.6 kB / 325.9 MB, free: 25.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004473/0.2171, allocations: 3.8 MB / 329.7 MB, free: 25.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-05/0.2172, allocations: 2.719 kB / 329.7 MB, free: 25.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.2173, allocations: 117.7 kB / 329.9 MB, free: 25.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003631/0.2177, allocations: 476.1 kB / 330.3 MB, free: 25.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003764/0.2214, allocations: 4.537 MB / 334.9 MB, free: 25.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/0.2337, allocations: 12.57 MB / 347.4 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.2348, allocations: 1.026 MB / 348.5 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.2354, allocations: 0.5924 MB / 349.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007068/0.2425, allocations: 7.717 MB / 356.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.2425, allocations: 43.88 kB / 356.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=188): time 3.586e-06/0.2425, allocations: 0 / 356.8 MB, free: 11.79 MB / 314.7 MB 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 660] [Calling sys.exit(0), Time elapsed: 1.827434005215764]