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.0007722/0.0007722, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007178/0.0007178, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8451/0.8451, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.08257/0.08257, allocations: 17.46 MB / 276.6 MB, free: 11.75 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 1.152e-06/1.152e-06, allocations: 0 / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.762e-05, allocations: 2.281 kB / 411.6 MB, free: 12.45 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.02134/0.02136, allocations: 29.6 MB / 441.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.0334, allocations: 9.485 MB / 450.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.03442, allocations: 63.5 kB / 450.7 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.03753, allocations: 1.8 MB / 452.5 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.03954, allocations: 1.256 MB / 453.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004217/0.04375, allocations: 3.922 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.002125/0.04588, allocations: 2.648 MB / 460.3 MB, free: 9.172 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004236/0.0463, allocations: 436.1 kB / 460.8 MB, free: 8.699 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000915/0.04722, allocations: 1.454 MB / 462.2 MB, free: 7.242 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008553/0.04807, allocations: 1.142 MB / 463.4 MB, free: 6.098 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.04823, allocations: 220 kB / 463.6 MB, free: 5.883 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.05054, allocations: 1.965 MB / 465.5 MB, free: 3.914 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003693/0.05091, allocations: 0.771 MB / 466.3 MB, free: 3.141 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007239/0.05163, allocations: 0.8142 MB / 467.1 MB, free: 2.324 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003128/0.05476, allocations: 4.912 MB / 472 MB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.05476, allocations: 0 / 472 MB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.05476, allocations: 3.844 kB / 472 MB, free: 13.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.05478, 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.003294/0.05807, allocations: 3.157 MB / 475.2 MB, free: 10.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.05812, allocations: 12.03 kB / 475.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002506/0.05837, allocations: 347 kB / 475.5 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.05942, allocations: 0.6937 MB / 476.2 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.06071, allocations: 1.44 MB / 477.7 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.06092, allocations: 382.1 kB / 478.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.06111, allocations: 208.3 kB / 478.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005547/0.06665, allocations: 8.016 MB / 486.3 MB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.06668, allocations: 192 / 486.3 MB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.06678, allocations: 83.92 kB / 486.4 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/0.06696, allocations: 300.6 kB / 486.6 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008904/0.07586, allocations: 14.05 MB / 0.489 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.08926, allocations: 15.77 MB / 0.5044 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.09167, allocations: 2.379 MB / 0.5067 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.09332, allocations: 1.984 MB / 0.5086 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009712/0.103, allocations: 11.2 MB / 0.5196 GB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1031, allocations: 43.55 kB / 0.5196 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of pre-optimization done (n=151): time 2.044e-06/0.1031, allocations: 4 kB / 0.5196 GB, free: 0.9844 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.77233562245965] Failed to read output from testmodel.py, exit status != 0: 0.26242116279900074 0.133093762 0.076813136 Calling exit ...