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.001682/0.001682, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001885/0.001885, allocations: 192.8 kB / 24.5 MB, free: 4.02 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.317/1.317, allocations: 225.6 MB / 253.3 MB, free: 13.04 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: 47.92 kB / 371.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2184, allocations: 52.19 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6): time 0.1015/0.3199, allocations: 100.7 MB / 0.5118 GB, free: 9.559 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2914/0.6112, allocations: 25.99 MB / 0.5372 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02233/0.6336, allocations: 1.244 MB / 0.5384 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06061/0.6942, allocations: 41.59 MB / 0.579 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03755/0.7317, allocations: 16.86 MB / 0.5955 GB, free: 8.219 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0203/0.752, allocations: 9.791 MB / 0.605 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.1123/0.8643, allocations: 82.11 MB / 0.6852 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06513/0.9295, allocations: 41.06 MB / 0.7253 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0428/0.9723, allocations: 23.32 MB / 0.7481 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5165/1.489, allocations: 30.33 MB / 0.7777 GB, free: 77.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.01563/1.504, allocations: 5.532 MB / 0.7831 GB, free: 77.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02013/1.525, allocations: 6.269 MB / 0.7892 GB, free: 77.51 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.03039/1.555, allocations: 26.42 MB / 0.815 GB, free: 76.67 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.04436/1.599, allocations: 29.47 MB / 0.8438 GB, free: 61.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.1036/1.703, allocations: 97.7 MB / 0.9392 GB, free: 14.58 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/1.703, allocations: 0 / 0.9392 GB, free: 14.58 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.314e-06/1.703, allocations: 0 / 0.9392 GB, free: 14.58 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.002939/1.706, allocations: 0 / 0.9392 GB, free: 14.58 MB / 0.6232 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.1967/1.903, allocations: 60.57 MB / 0.9984 GB, free: 2.469 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.903, allocations: 15.45 kB / 0.9984 GB, free: 2.457 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.001182/1.904, allocations: 1.019 MB / 0.9994 GB, free: 1.438 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.459/2.363, allocations: 6.251 MB / 1.005 GB, free: 221 MB / 0.6702 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.609/3.971, allocations: 139.9 MB / 1.142 GB, free: 115.3 MB / 0.6702 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1309/4.102, allocations: 68.09 MB / 1.209 GB, free: 50.86 MB / 0.6702 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001766/4.104, allocations: 2.326 MB / 1.211 GB, free: 48.7 MB / 0.6702 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01096/4.115, allocations: 3.306 MB / 1.214 GB, free: 45.55 MB / 0.6702 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6034/4.718, allocations: 79.83 MB / 1.292 GB, free: 177.4 MB / 0.6704 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002643/4.721, allocations: 463.8 kB / 1.292 GB, free: 177.2 MB / 0.6704 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009372/4.73, allocations: 1.391 MB / 1.294 GB, free: 176.4 MB / 0.6704 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0134/4.744, allocations: 10.88 MB / 1.304 GB, free: 173.8 MB / 0.6704 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1291/4.873, allocations: 60.91 MB / 1.364 GB, free: 142.8 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.7115/5.584, allocations: 334.5 MB / 1.691 GB, free: 89.29 MB / 0.7485 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1358/5.72, allocations: 53.17 MB / 1.743 GB, free: 70.73 MB / 0.7485 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03396/5.754, allocations: 26.48 MB / 1.768 GB, free: 56.39 MB / 0.7485 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4243/6.178, allocations: 109 MB / 1.875 GB, free: 226.2 MB / 0.7485 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/6.179, allocations: 228.3 kB / 1.875 GB, free: 226 MB / 0.7485 GB Notification: Performance of pre-optimization done (n=1699): time 1.659e-05/6.179, allocations: 0 / 1.875 GB, free: 226 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 647] [Calling sys.exit(0), Time elapsed: 14.731557731050998] Failed to read output from testmodel.py, exit status != 0: ['time', 'filter.x[1]', 'filter.x[2]', 'load.phi', 'load.w'] 12.565197912976146 12.737793187 11.032377078 Calling exit ...