Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.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.005315/0.005315, allocations: 114.2 kB / 21.97 MB, free: 5.227 MB / 14.72 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.001574/0.001574, allocations: 211.5 kB / 25.28 MB, free: 3.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 207.6 MB / 236 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 51.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2355, allocations: 49.17 MB / 397.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6): time 0.1024/0.338, allocations: 101.2 MB / 498.3 MB, free: 13.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06154/0.3995, allocations: 26.12 MB / 0.5122 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0246/0.4241, allocations: 1.246 MB / 0.5134 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.07346/0.4976, allocations: 41.58 MB / 0.554 GB, free: 8.621 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2501/0.7476, allocations: 17.05 MB / 0.5706 GB, free: 5.891 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01718/0.7648, allocations: 9.815 MB / 0.5802 GB, free: 5.723 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.08376/0.8486, allocations: 72.82 MB / 0.6513 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07568/0.9243, allocations: 41.19 MB / 0.6916 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04727/0.9715, allocations: 23.48 MB / 0.7145 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05228/1.024, allocations: 30.5 MB / 0.7443 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0187/1.043, allocations: 5.547 MB / 0.7497 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02169/1.064, allocations: 6.289 MB / 0.7558 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.03966/1.104, allocations: 26.65 MB / 0.7819 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.5758/1.68, allocations: 29.69 MB / 0.8108 GB, free: 73.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.1109/1.791, allocations: 98.35 MB / 0.9069 GB, free: 33.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/1.791, allocations: 0 / 0.9069 GB, free: 33.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.916e-06/1.791, allocations: 0 / 0.9069 GB, free: 33.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.003431/1.794, allocations: 0 / 0.9069 GB, free: 33.77 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11113 * Number of variables: 11113 Notification: Performance of Generate backend data structure: time 0.1977/1.992, allocations: 61.05 MB / 0.9665 GB, free: 10.02 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/1.992, allocations: 17.42 kB / 0.9665 GB, free: 10.01 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.00156/1.993, allocations: 1.019 MB / 0.9675 GB, free: 9.047 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02863/2.022, allocations: 6.252 MB / 0.9736 GB, free: 2.945 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.903/3.925, allocations: 139.9 MB / 1.11 GB, free: 230.7 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1263/4.051, allocations: 74.56 MB / 1.183 GB, free: 162.5 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001726/4.053, allocations: 2.335 MB / 1.185 GB, free: 160.3 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0114/4.064, allocations: 3.294 MB / 1.189 GB, free: 157.2 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1591/4.223, allocations: 79.84 MB / 1.267 GB, free: 74.15 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002486/4.226, allocations: 461 kB / 1.267 GB, free: 73.7 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009923/4.235, allocations: 1.393 MB / 1.268 GB, free: 72.46 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01336/4.249, allocations: 10.88 MB / 1.279 GB, free: 61.62 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1241/4.373, allocations: 60.92 MB / 1.338 GB, free: 0.6875 MB / 0.6857 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.017/5.389, allocations: 335.1 MB / 1.666 GB, free: 114.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1346/5.524, allocations: 53.17 MB / 1.718 GB, free: 111 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03159/5.556, allocations: 26.47 MB / 1.743 GB, free: 99.47 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1797/5.735, allocations: 109.3 MB / 1.85 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/5.736, allocations: 232.1 kB / 1.85 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1699): time 1.531e-05/5.736, allocations: 0 / 1.85 GB, free: 14.57 MB / 0.7169 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: cylinder6.crank_b.R.T[1,1] 2: cylinder6.B1.frame_a.r_0[3] 3: cylinder6.B1.frame_a.r_0[2] 4: cylinder6.B1.frame_a.r_0[1] 5: cylinder5.B1.frame_a.r_0[3] 6: cylinder5.B1.frame_a.r_0[2] 7: cylinder5.B1.frame_a.r_0[1] 8: cylinder4.B1.frame_a.r_0[3] 9: cylinder4.B1.frame_a.r_0[2] 10: cylinder4.B1.frame_a.r_0[1] 11: cylinder3.B1.frame_a.r_0[3] 12: cylinder3.B1.frame_a.r_0[2] 13: cylinder3.B1.frame_a.r_0[1] 14: cylinder2.B1.frame_a.r_0[3] 15: cylinder2.B1.frame_a.r_0[2] 16: cylinder2.B1.frame_a.r_0[1] 17: cylinder1.B1.frame_a.r_0[3] 18: cylinder1.B1.frame_a.r_0[2] 19: cylinder1.B1.frame_a.r_0[1] Please use -d=bltdump for more information. Error: Internal error Selection of DummyDerivatives failed due to negative system rank of -1! There are 1 unassigned equations and 0 potential states. Error: Internal error - IndexReduction.selectDummyDerivatives2new failed! Error: Internal error - IndexReduction.processComps4New failed! Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 648] [Calling sys.exit(0), Time elapsed: 14.3761450839811] Failed to read output from testmodel.py, exit status != 0: ['time', 'filter.x[1]', 'filter.x[2]', 'load.phi', 'load.w'] 12.425523693964351 12.435123459 10.64166586 Calling exit ...