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.0005912/0.0005912, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0006912/0.0006912, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.83/0.83, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.08419/0.08419, allocations: 17.45 MB / 276.6 MB, free: 11.77 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: "" <> buildModelFMU(Chemical.Examples.SimpleReactionsWithJunction3,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReactionsWithJunction3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.SimpleReactionsWithJunction3,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReactionsWithJunction3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 1.094 kB / 411.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.059e-05, allocations: 2.281 kB / 411.6 MB, free: 12.44 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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 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 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.02033/0.02035, allocations: 29.59 MB / 441.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.03052, allocations: 9.486 MB / 450.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007838/0.03131, allocations: 63.5 kB / 450.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.03401, allocations: 1.802 MB / 452.5 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.03561, allocations: 1.25 MB / 453.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.03943, allocations: 3.927 MB / 457.7 MB, free: 11.83 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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 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 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 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 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 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 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 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 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 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.001974/0.0414, allocations: 2.655 MB / 460.3 MB, free: 9.164 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.04181, allocations: 436.1 kB / 460.8 MB, free: 8.691 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008649/0.04267, allocations: 1.45 MB / 462.2 MB, free: 7.238 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008247/0.0435, allocations: 1.142 MB / 463.4 MB, free: 6.094 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.04365, allocations: 220 kB / 463.6 MB, free: 5.879 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.04576, allocations: 1.961 MB / 465.5 MB, free: 3.914 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003735/0.04613, allocations: 0.7748 MB / 466.3 MB, free: 3.137 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000709/0.04684, allocations: 0.8142 MB / 467.1 MB, free: 2.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003007/0.04985, allocations: 4.912 MB / 472 MB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.04985, allocations: 0 / 472 MB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.04985, allocations: 0 / 472 MB, free: 13.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.04987, allocations: 0 / 472 MB, free: 13.39 MB / 378.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.003098/0.05297, allocations: 3.165 MB / 475.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.053, allocations: 12.03 kB / 475.2 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002465/0.05325, allocations: 347 kB / 475.6 MB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.05429, allocations: 0.6976 MB / 476.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.0557, allocations: 1.44 MB / 477.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.0559, allocations: 382.1 kB / 478.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.05608, allocations: 204.3 kB / 478.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005512/0.06159, allocations: 8.016 MB / 486.3 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.06161, allocations: 192 / 486.3 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.06172, allocations: 83.92 kB / 486.4 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/0.06191, allocations: 296.6 kB / 486.7 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009271/0.07118, allocations: 14.05 MB / 0.489 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.08477, allocations: 15.76 MB / 0.5044 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.0871, allocations: 2.383 MB / 0.5067 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.08881, allocations: 1.976 MB / 0.5086 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009964/0.09878, allocations: 11.22 MB / 0.5196 GB, free: 1.023 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.09881, allocations: 47.56 kB / 0.5196 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of pre-optimization done (n=151): time 2.485e-06/0.09881, allocations: 0 / 0.5196 GB, free: 0.9688 MB / 426.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.7790622636675835] Failed to read output from testmodel.py, exit status != 0: 0.2576983403414488 0.13055360699999993 0.079191708 Calling exit ...