Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.SimpleReaction22.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.0009155/0.0009155, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001435/0.001435, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 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.9994/0.9994, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08275/0.08275, allocations: 17.46 MB / 277.7 MB, free: 11.45 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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: translateModel(Chemical.Examples.SimpleReaction22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction22") translateModel(Chemical.Examples.SimpleReaction22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.SimpleReaction22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 300.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.354e-05, allocations: 4.781 kB / 300.7 MB, free: 1.77 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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 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 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.SimpleReaction22): time 0.03321/0.03323, allocations: 44.26 MB / 345 MB, free: 8.148 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01477/0.04799, allocations: 11.84 MB / 356.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.0495, allocations: 111.1 kB / 356.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003597/0.0531, allocations: 2.16 MB / 359.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.05617, allocations: 1.842 MB / 360.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004837/0.061, allocations: 4.5 MB / 365.4 MB, free: 3.598 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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 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 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 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 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 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 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 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 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 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.003637/0.06464, allocations: 4.597 MB / 370 MB, free: 14.98 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007284/0.06537, allocations: 0.8652 MB / 370.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.06736, allocations: 2.666 MB / 373.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.06896, allocations: 2.061 MB / 375.6 MB, free: 9.285 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.06929, allocations: 424 kB / 376 MB, free: 8.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.07217, allocations: 2.246 MB / 378.3 MB, free: 6.621 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008997/0.07307, allocations: 1.425 MB / 379.7 MB, free: 5.191 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009984/0.07406, allocations: 1.512 MB / 381.2 MB, free: 3.676 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004824/0.07889, allocations: 5.913 MB / 387.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.07889, allocations: 0 / 387.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.07889, allocations: 0 / 387.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.177e-05/0.07893, allocations: 0 / 387.1 MB, free: 13.74 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1267 * Number of variables: 1267 Notification: Performance of Generate backend data structure: time 0.004803/0.08374, allocations: 5.215 MB / 392.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.08377, allocations: 11.97 kB / 392.4 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.08619, allocations: 2.047 MB / 394.4 MB, free: 6.414 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.08793, allocations: 1.716 MB / 396.1 MB, free: 4.629 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/0.08822, allocations: 0.6375 MB / 396.8 MB, free: 3.918 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003189/0.08854, allocations: 396.3 kB / 397.1 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004394/0.09294, allocations: 5.042 MB / 402.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/0.09298, allocations: 192 / 402.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.09317, allocations: 160.1 kB / 402.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003976/0.09357, allocations: 0.6105 MB / 402.9 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004838/0.09841, allocations: 6.034 MB / 409 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/0.1145, allocations: 15.27 MB / 424.3 MB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.1163, allocations: 1.25 MB / 425.5 MB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009734/0.1172, allocations: 0.6863 MB / 426.2 MB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01037/0.1276, allocations: 8.962 MB / 435.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1276, allocations: 48.56 kB / 435.2 MB, free: 13.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=237): time 2.846e-06/0.1276, allocations: 0 / 435.2 MB, free: 13.24 MB / 410.7 MB Error: Internal error It is not possible to select continuous time states because Number of Equations 71 greater than number of States 70 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.9656843328848481]