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.0018/0.0018, allocations: 110.6 kB / 19.17 MB, free: 3.871 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.002169/0.002169, allocations: 203.8 kB / 22.12 MB, free: 0.9297 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.347/1.347, allocations: 207.6 MB / 232.5 MB, free: 3.887 MB / 174.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.0017/0.0017, allocations: 48.45 kB / 343 MB, free: 10.11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08919/0.09089, allocations: 49.14 MB / 392.1 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6): time 0.2875/0.3784, allocations: 101.1 MB / 493.3 MB, free: 2.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05433/0.4327, allocations: 26.08 MB / 0.5072 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02499/0.4577, allocations: 1.25 MB / 0.5084 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.07197/0.5297, allocations: 41.38 MB / 0.5488 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04406/0.5738, allocations: 17.05 MB / 0.5655 GB, free: 6.645 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02132/0.5951, allocations: 9.799 MB / 0.575 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.09967/0.6947, allocations: 72.63 MB / 0.646 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5298/1.225, allocations: 46.2 MB / 0.6911 GB, free: 47.9 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04208/1.267, allocations: 23.44 MB / 0.714 GB, free: 46.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04615/1.313, allocations: 30.5 MB / 0.7438 GB, free: 41.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.01834/1.331, allocations: 5.548 MB / 0.7492 GB, free: 39.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02585/1.357, allocations: 6.286 MB / 0.7553 GB, free: 33.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.03986/1.397, allocations: 26.61 MB / 0.7813 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.06829/1.465, allocations: 29.83 MB / 0.8104 GB, free: 10.69 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.5918/2.057, allocations: 98.36 MB / 0.9065 GB, free: 75.18 MB / 0.6233 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/2.057, allocations: 0 / 0.9065 GB, free: 75.18 MB / 0.6233 GB Notification: Performance of FrontEnd: time 2.204e-06/2.057, allocations: 2.625 kB / 0.9065 GB, free: 75.18 MB / 0.6233 GB Notification: Performance of Transformations before backend: time 0.002688/2.06, allocations: 0 / 0.9065 GB, free: 75.18 MB / 0.6233 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.1872/2.247, allocations: 61.14 MB / 0.9662 GB, free: 55.11 MB / 0.6233 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/2.247, allocations: 7.875 kB / 0.9662 GB, free: 55.11 MB / 0.6233 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0009252/2.248, allocations: 1.017 MB / 0.9672 GB, free: 54.93 MB / 0.6233 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02412/2.272, allocations: 6.253 MB / 0.9733 GB, free: 54.54 MB / 0.6233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.646/3.918, allocations: 139.9 MB / 1.11 GB, free: 0.7266 MB / 0.6858 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4166/4.335, allocations: 74.47 MB / 1.183 GB, free: 290.4 MB / 0.7327 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002024/4.337, allocations: 2.331 MB / 1.185 GB, free: 290.4 MB / 0.7327 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01607/4.353, allocations: 3.299 MB / 1.188 GB, free: 290.4 MB / 0.7327 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1825/4.536, allocations: 79.84 MB / 1.266 GB, free: 240.5 MB / 0.7327 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002959/4.539, allocations: 457.1 kB / 1.267 GB, free: 240.2 MB / 0.7327 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01524/4.554, allocations: 1.389 MB / 1.268 GB, free: 238.9 MB / 0.7327 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01445/4.568, allocations: 10.89 MB / 1.279 GB, free: 229.1 MB / 0.7327 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.137/4.705, allocations: 60.92 MB / 1.338 GB, free: 168.3 MB / 0.7327 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.7648/5.47, allocations: 334.2 MB / 1.664 GB, free: 131.7 MB / 0.7639 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1414/5.612, allocations: 53.14 MB / 1.716 GB, free: 118.9 MB / 0.7639 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03387/5.645, allocations: 26.41 MB / 1.742 GB, free: 107.3 MB / 0.7639 GB Notification: Performance of preOpt evalFunc (simulation): time 0.187/5.832, allocations: 115.2 MB / 1.855 GB, free: 2.25 MB / 0.7639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/5.833, allocations: 224.3 kB / 1.855 GB, free: 2.016 MB / 0.7639 GB Notification: Performance of pre-optimization done (n=1699): time 3.281e-05/5.833, allocations: 0 / 1.855 GB, free: 2.016 MB / 0.7639 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 647] [Calling sys.exit(0), Time elapsed: 14.862027444003616] Failed to read output from testmodel.py, exit status != 0: ['time', 'filter.x[1]', 'filter.x[2]', 'load.phi', 'load.w'] 12.800142117019277 12.809397808 10.749810535 Calling exit ...