Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.SimpleReaction.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.0008451/0.0008451, 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.0009636/0.0009636, allocations: 169.9 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.8305/0.8305, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.07639/0.07639, allocations: 17.45 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.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 411.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.6e-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.SimpleReaction): time 0.02113/0.02114, allocations: 29.6 MB / 441.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009529/0.03067, allocations: 9.489 MB / 450.7 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007151/0.03139, allocations: 59.5 kB / 450.7 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.03394, allocations: 1.809 MB / 452.5 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.03558, allocations: 1.243 MB / 453.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003877/0.03945, allocations: 3.924 MB / 457.7 MB, free: 11.84 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1332:3-1332:55:writable] Warning: Parameter r.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.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.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.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.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.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.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.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.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.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.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.00191/0.04136, allocations: 2.656 MB / 460.3 MB, free: 9.172 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.04178, allocations: 440.1 kB / 460.8 MB, free: 8.695 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009166/0.0427, allocations: 1.45 MB / 462.2 MB, free: 7.242 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008527/0.04355, allocations: 1.138 MB / 463.4 MB, free: 6.102 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.04371, allocations: 216 kB / 463.6 MB, free: 5.891 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.04574, allocations: 1.965 MB / 465.5 MB, free: 3.922 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003601/0.0461, allocations: 0.7748 MB / 466.3 MB, free: 3.145 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004938/0.0466, allocations: 0.8104 MB / 467.1 MB, free: 2.332 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003063/0.04966, allocations: 4.912 MB / 472 MB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.04966, allocations: 0 / 472 MB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.04966, allocations: 0 / 472 MB, free: 13.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.04968, allocations: 3.938 kB / 472 MB, free: 13.4 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.003008/0.05269, allocations: 3.165 MB / 475.2 MB, free: 10.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.05273, allocations: 12.03 kB / 475.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002414/0.05297, allocations: 347 kB / 475.6 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.05401, allocations: 0.6976 MB / 476.3 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.0553, allocations: 1.433 MB / 477.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.0555, allocations: 382.1 kB / 478.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.05571, allocations: 204.3 kB / 478.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005473/0.06118, allocations: 8.019 MB / 486.3 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.06121, allocations: 192 / 486.3 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.06132, allocations: 87.92 kB / 486.4 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/0.0615, allocations: 288.6 kB / 486.6 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008593/0.07009, allocations: 14.05 MB / 0.489 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.08286, allocations: 15.77 MB / 0.5044 GB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.08505, allocations: 2.383 MB / 0.5067 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.08672, allocations: 1.976 MB / 0.5086 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009123/0.09584, allocations: 11.21 MB / 0.5196 GB, free: 1.051 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.09587, allocations: 43.56 kB / 0.5196 GB, free: 1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=151): time 2.094e-06/0.09587, allocations: 0 / 0.5196 GB, free: 1 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.717324429191649] Failed to read output from testmodel.py, exit status != 0: 0.24310062173753977 0.125346398 0.07426173 Calling exit ...