Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.debug.SimpleReaction2__.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.0007787/0.0007787, 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.0007829/0.0007829, 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.8476/0.8476, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.08354/0.08354, allocations: 17.45 MB / 276.6 MB, free: 11.76 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.debug.SimpleReaction2__,fileNamePrefix="Chemical_master_Chemical_Examples_debug_SimpleReaction2__",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.debug.SimpleReaction2__,fileNamePrefix="Chemical_master_Chemical_Examples_debug_SimpleReaction2__",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.928e-05, allocations: 2.281 kB / 411.6 MB, free: 12.45 MB / 330.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.debug.SimpleReaction2__): time 0.02566/0.02568, allocations: 31.94 MB / 443.5 MB, free: 8.656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.03852, allocations: 10.11 MB / 453.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.04051, allocations: 83.31 kB / 453.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003993/0.04451, allocations: 1.94 MB / 455.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003792/0.0483, allocations: 1.54 MB / 457.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005403/0.0537, allocations: 4.088 MB / 461.3 MB, free: 8.207 MB / 362.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.003782/0.05748, allocations: 3.614 MB / 464.9 MB, free: 4.578 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008301/0.05831, allocations: 0.5505 MB / 465.4 MB, free: 3.988 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.06004, allocations: 2.039 MB / 467.5 MB, free: 1.945 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.06135, allocations: 1.625 MB / 469.1 MB, free: 324 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002586/0.06161, allocations: 315.9 kB / 469.4 MB, free: 8 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003032/0.06464, allocations: 2.055 MB / 471.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007657/0.0654, allocations: 1.09 MB / 472.6 MB, free: 12.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008008/0.06621, allocations: 1.149 MB / 473.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005976/0.07218, allocations: 6.267 MB / 480 MB, free: 5.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.07219, allocations: 3.938 kB / 480 MB, free: 5.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.07219, allocations: 0 / 480 MB, free: 5.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.346e-05/0.07223, allocations: 0 / 480 MB, free: 5.414 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: 960 * Number of variables: 960 Notification: Performance of Generate backend data structure: time 0.005005/0.07724, allocations: 4.343 MB / 484.3 MB, free: 1.016 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.07728, allocations: 8.031 kB / 484.3 MB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003748/0.07765, allocations: 490.8 kB / 484.8 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.07909, allocations: 0.896 MB / 485.7 MB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.08113, allocations: 1.974 MB / 487.7 MB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/0.08145, allocations: 0.5033 MB / 488.2 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/0.08173, allocations: 292.3 kB / 488.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008489/0.09022, allocations: 11.94 MB / 0.4887 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.09025, allocations: 192 / 0.4887 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.09041, allocations: 123.9 kB / 0.4888 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002947/0.09071, allocations: 466.8 kB / 0.4892 GB, free: 196 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.1045, allocations: 21.05 MB / 0.5098 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02187/0.1263, allocations: 21.47 MB / 0.5308 GB, free: 5.535 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/0.1291, allocations: 2.787 MB / 0.5335 GB, free: 2.742 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002327/0.1314, allocations: 2.263 MB / 0.5357 GB, free: 488 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01227/0.1437, allocations: 12.89 MB / 0.5483 GB, free: 3.543 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1437, allocations: 43.88 kB / 0.5483 GB, free: 3.492 MB / 458.7 MB Notification: Performance of pre-optimization done (n=188): time 2.815e-06/0.1437, allocations: 0 / 0.5483 GB, free: 3.492 MB / 458.7 MB Error: Internal error It is not possible to select continuous time states because Number of Equations 58 greater than number of States 57 to select from. Error: Internal error Selection of DummyDerivatives failed due to negative system rank of -1! There are 31 unassigned equations and 30 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.8528147526085377] Failed to read output from testmodel.py, exit status != 0: 0.3184734284877777 0.17957708 0.10571988 Calling exit ...