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.000807/0.000807, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007685/0.0007685, allocations: 177.9 kB / 23.22 MB, free: 1.348 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.8377/0.8377, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.07754/0.07754, allocations: 17.44 MB / 277.4 MB, free: 11.79 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.193e-06/1.193e-06, allocations: 0 / 412.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.093e-05, allocations: 2.281 kB / 412.9 MB, free: 15.77 MB / 394.7 MB [/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. [/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. Notification: Performance of NFInst.instantiate(Chemical.Examples.SimpleReaction22): time 0.2745/0.2745, allocations: 34.21 MB / 447.1 MB, free: 43.95 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.2847, allocations: 10.75 MB / 457.8 MB, free: 41.57 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.2858, allocations: 106.4 kB / 457.9 MB, free: 41.51 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.2884, allocations: 2.065 MB / 460 MB, free: 40.46 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.2904, allocations: 1.829 MB / 461.8 MB, free: 39.25 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003926/0.2944, allocations: 4.254 MB / 466.1 MB, free: 36.66 MB / 410.8 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.002955/0.2973, allocations: 4.602 MB / 470.7 MB, free: 34.36 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006777/0.298, allocations: 0.814 MB / 471.5 MB, free: 33.93 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.2998, allocations: 2.659 MB / 474.1 MB, free: 32.77 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.3012, allocations: 2.134 MB / 476.3 MB, free: 32.05 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002992/0.3015, allocations: 430.7 kB / 476.7 MB, free: 32.05 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00316/0.3047, allocations: 2.268 MB / 479 MB, free: 31.54 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005434/0.3053, allocations: 1.434 MB / 480.4 MB, free: 30.73 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0008347/0.3061, allocations: 1.521 MB / 481.9 MB, free: 30.02 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005603/0.3117, allocations: 7.805 MB / 489.7 MB, free: 26.57 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3117, allocations: 1.641 kB / 489.7 MB, free: 26.57 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3117, allocations: 0 / 489.7 MB, free: 26.57 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.268e-05/0.3118, allocations: 0 / 489.7 MB, free: 26.57 MB / 410.8 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.006889/0.3186, allocations: 5.583 MB / 495.3 MB, free: 23.54 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3187, allocations: 9.938 kB / 495.3 MB, free: 23.54 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/0.3205, allocations: 1.145 MB / 496.5 MB, free: 23.07 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.3231, allocations: 2.558 MB / 499 MB, free: 21.47 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/0.3234, allocations: 0.6373 MB / 499.7 MB, free: 20.96 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003974/0.3238, allocations: 403.4 kB / 0.4883 GB, free: 20.82 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.3347, allocations: 15.86 MB / 0.5038 GB, free: 14.1 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.151e-05/0.3347, allocations: 192 / 0.5038 GB, free: 14.1 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002187/0.3349, allocations: 163.6 kB / 0.504 GB, free: 13.97 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003514/0.3353, allocations: 0.6158 MB / 0.5046 GB, free: 13.84 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/0.3501, allocations: 28.08 MB / 0.532 GB, free: 10.77 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0269/0.377, allocations: 27.77 MB / 0.5591 GB, free: 14.91 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0046/0.3816, allocations: 5.141 MB / 0.5641 GB, free: 9.758 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003642/0.3853, allocations: 3.915 MB / 0.568 GB, free: 5.836 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01665/0.4019, allocations: 16.94 MB / 0.5845 GB, free: 4.848 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.4019, allocations: 52.56 kB / 0.5846 GB, free: 4.785 MB / 474.8 MB Notification: Performance of pre-optimization done (n=237): time 3.156e-06/0.4019, allocations: 0 / 0.5846 GB, free: 4.785 MB / 474.8 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: 2.138379313983023] Failed to read output from testmodel.py, exit status != 0: 0.436788865365088 0.591751676 0.27802976900000004 Calling exit ...