Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 191.5 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.7 MB / 253.3 MB, free: 12.88 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 43.94 kB / 371.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2321, allocations: 52.19 MB / 423.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6): time 0.09188/0.3239, allocations: 84.7 MB / 0.4962 GB, free: 9.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05318/0.3771, allocations: 25.64 MB / 0.5212 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0202/0.3973, allocations: 1.242 MB / 0.5224 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2729/0.6702, allocations: 39.66 MB / 0.5611 GB, free: 1.957 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03238/0.7026, allocations: 16.96 MB / 0.5777 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01722/0.7198, allocations: 9.799 MB / 0.5873 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.1032/0.823, allocations: 82.09 MB / 0.6674 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06155/0.8846, allocations: 41.04 MB / 0.7075 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03929/0.9239, allocations: 23.34 MB / 0.7303 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04639/0.9702, allocations: 30.34 MB / 0.7599 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.4664/1.437, allocations: 5.526 MB / 0.7653 GB, free: 92.4 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01804/1.455, allocations: 6.219 MB / 0.7714 GB, free: 92.4 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.03088/1.486, allocations: 26.42 MB / 0.7972 GB, free: 92.29 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.04591/1.531, allocations: 22.88 MB / 0.8196 GB, free: 86.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.08671/1.618, allocations: 98.25 MB / 0.9155 GB, free: 32.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/1.618, allocations: 4.625 kB / 0.9155 GB, free: 32.42 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/1.618, allocations: 0 / 0.9155 GB, free: 32.42 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.002996/1.621, allocations: 0.5938 kB / 0.9155 GB, free: 32.42 MB / 0.5919 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.1868/1.808, allocations: 60.57 MB / 0.9747 GB, free: 4.312 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/1.808, allocations: 12.03 kB / 0.9747 GB, free: 4.301 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.001086/1.809, allocations: 1.013 MB / 0.9757 GB, free: 3.285 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02432/1.833, allocations: 6.256 MB / 0.9818 GB, free: 13.18 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.874/3.708, allocations: 139.9 MB / 1.118 GB, free: 129 MB / 0.6545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1191/3.827, allocations: 68.15 MB / 1.185 GB, free: 65.65 MB / 0.6545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001725/3.829, allocations: 2.331 MB / 1.187 GB, free: 63.48 MB / 0.6545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01138/3.84, allocations: 3.303 MB / 1.19 GB, free: 60.34 MB / 0.6545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6069/4.447, allocations: 81.64 MB / 1.27 GB, free: 178.4 MB / 0.6704 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003264/4.45, allocations: 469.6 kB / 1.271 GB, free: 178.3 MB / 0.6704 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01128/4.461, allocations: 1.387 MB / 1.272 GB, free: 178.3 MB / 0.6704 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01412/4.475, allocations: 10.88 MB / 1.283 GB, free: 178.1 MB / 0.6704 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1272/4.603, allocations: 60.91 MB / 1.342 GB, free: 155.2 MB / 0.6704 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 0.6992/5.302, allocations: 302 MB / 1.637 GB, free: 91.5 MB / 0.7173 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1299/5.432, allocations: 53.09 MB / 1.689 GB, free: 83.32 MB / 0.7173 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03055/5.462, allocations: 26.47 MB / 1.715 GB, free: 70.65 MB / 0.7173 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1806/5.643, allocations: 102.3 MB / 1.815 GB, free: 3.809 MB / 0.7485 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/5.643, allocations: 236.1 kB / 1.815 GB, free: 3.566 MB / 0.7485 GB Notification: Performance of pre-optimization done (n=1699): time 2.737e-05/5.643, allocations: 0 / 1.815 GB, free: 3.566 MB / 0.7485 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: 13.917349564959295] Failed to read output from testmodel.py, exit status != 0: ['time', 'filter.x[1]', 'filter.x[2]', 'load.phi', 'load.w'] 11.953437325893901 11.963210596 10.342634926 Calling exit ...