Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001874/0.001874, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002427/0.002427, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 68.77 kB / 378.6 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2533, allocations: 53.37 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02368/0.277, allocations: 20.55 MB / 452.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0146/0.2916, allocations: 6.25 MB / 458.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004035/0.2957, allocations: 202.9 kB / 458.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01266/0.3083, allocations: 6.437 MB / 465.4 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.3186, allocations: 3.498 MB / 468.9 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004515/0.3231, allocations: 1.669 MB / 470.5 MB, free: 132 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02004/0.3431, allocations: 12.98 MB / 483.5 MB, free: 3.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009309/0.3524, allocations: 6.294 MB / 489.8 MB, free: 12.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007734/0.3602, allocations: 3.809 MB / 493.6 MB, free: 8.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009256/0.3694, allocations: 5.356 MB / 499 MB, free: 3.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003069/0.3725, allocations: 0.7461 MB / 499.7 MB, free: 2.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005119/0.3776, allocations: 1.744 MB / 0.4897 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006675/0.3843, allocations: 4.539 MB / 0.4942 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009768/0.3941, allocations: 4.939 MB / 0.499 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02142/0.4155, allocations: 14.87 MB / 0.5135 GB, free: 8.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4155, allocations: 0 / 0.5135 GB, free: 8.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4155, allocations: 0 / 0.5135 GB, free: 8.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004337/0.4159, allocations: 0 / 0.5135 GB, free: 8.617 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.03077/0.4467, allocations: 10.86 MB / 0.5241 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4467, allocations: 12.03 kB / 0.5241 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002778/0.4495, allocations: 1.19 MB / 0.5253 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6215/1.071, allocations: 24.34 MB / 0.549 GB, free: 92.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01829/1.089, allocations: 9.221 MB / 0.5581 GB, free: 85.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002884/1.09, allocations: 450.7 kB / 0.5585 GB, free: 84.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002148/1.092, allocations: 0.6153 MB / 0.5591 GB, free: 84.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0256/1.117, allocations: 16.74 MB / 0.5754 GB, free: 66.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002783/1.118, allocations: 99.34 kB / 0.5755 GB, free: 66.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007992/1.118, allocations: 274.5 kB / 0.5758 GB, free: 66.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003428/1.122, allocations: 2.862 MB / 0.5786 GB, free: 63.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02344/1.145, allocations: 13.26 MB / 0.5915 GB, free: 50.04 MB / 446.1 MB 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.07507/1.22, allocations: 68.19 MB / 0.6581 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01998/1.24, allocations: 7.189 MB / 0.6651 GB, free: 4.852 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005572/1.246, allocations: 4.059 MB / 0.6691 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01888/1.265, allocations: 11.38 MB / 0.6802 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.469e-05/1.265, allocations: 68.5 kB / 0.6803 GB, free: 5.438 MB / 494.1 MB Notification: Performance of pre-optimization done (n=293): time 5.06e-06/1.265, allocations: 4 kB / 0.6803 GB, free: 5.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=359): time 0.1848/1.45, allocations: 50.02 MB / 0.7291 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002827/1.45, allocations: 405.8 kB / 0.7295 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/1.462, allocations: 7.32 MB / 0.7367 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007956/1.462, allocations: 77.7 kB / 0.7367 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004882/1.467, allocations: 5.527 MB / 0.7421 GB, free: 6.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00203/1.469, allocations: 1.372 MB / 0.7435 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002822/1.472, allocations: 1.707 MB / 0.7452 GB, free: 3.125 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.472, allocations: 301.1 kB / 0.7454 GB, free: 2.828 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.228/1.7, allocations: 4.123 MB / 0.7495 GB, free: 186.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0093/1.71, allocations: 8.863 MB / 0.7581 GB, free: 180.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01417/1.724, allocations: 13.95 MB / 0.7717 GB, free: 169.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002105/1.724, allocations: 49.47 kB / 0.7718 GB, free: 169.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.03415/1.758, allocations: 17.82 MB / 0.7892 GB, free: 164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.758, allocations: 77 kB / 0.7893 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001907/1.758, allocations: 168.5 kB / 0.7894 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01691/1.775, allocations: 6.046 MB / 0.7953 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005747/1.781, allocations: 1.821 MB / 0.7971 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03617/1.817, allocations: 32.6 MB / 0.8289 GB, free: 125.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008069/1.825, allocations: 0.5394 MB / 0.8295 GB, free: 125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/1.827, allocations: 487.8 kB / 0.8299 GB, free: 124.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 743 * Number of states: 0 () * Number of discrete variables: 72 (rod3.color[3],rod3.color[2],rod3.color[1],rod1.color[3],rod1.color[2],rod1.color[1],cylinder.boxColor[3],cylinder.boxColor[2],cylinder.boxColor[1],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],mid.color[3],mid.color[2],mid.color[1],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[1],crank2.color[3],crank2.color[2],crank2.color[1],crank2.body.sphereColor[3],crank2.body.sphereColor[2],crank2.body.sphereColor[1],crank1.color[3],crank1.color[2],crank1.color[1],crank1.body.sphereColor[3],crank1.body.sphereColor[2],crank1.body.sphereColor[1],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (967): * Single equations (assignments): 961 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,97,55.1%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.006036/1.833, allocations: 3.582 MB / 0.8334 GB, free: 121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/1.834, allocations: 0.7081 MB / 0.8341 GB, free: 120.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02216/1.856, allocations: 12.01 MB / 0.8459 GB, free: 108.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.759e-05/1.856, allocations: 36 kB / 0.8459 GB, free: 108.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.419e-05/1.857, allocations: 20 kB / 0.8459 GB, free: 108.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.937e-05/1.857, allocations: 20.69 kB / 0.8459 GB, free: 108.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04559/1.902, allocations: 25.76 MB / 0.8711 GB, free: 82.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/1.902, allocations: 4 kB / 0.8711 GB, free: 82.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/1.904, allocations: 460.2 kB / 0.8715 GB, free: 82.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01609/1.921, allocations: 5.708 MB / 0.8771 GB, free: 76.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009267/1.921, allocations: 64 kB / 0.8772 GB, free: 76.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03587/1.957, allocations: 31.4 MB / 0.9078 GB, free: 44.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.957, allocations: 8 kB / 0.9078 GB, free: 44.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02781/1.985, allocations: 17.37 MB / 0.9248 GB, free: 27.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/1.987, allocations: 0.6619 MB / 0.9254 GB, free: 26.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00145/1.988, allocations: 64 kB / 0.9255 GB, free: 26.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003355/1.992, allocations: 275.4 kB / 0.9258 GB, free: 26.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009864/1.993, allocations: 274.6 kB / 0.926 GB, free: 25.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002739/1.993, allocations: 95.98 kB / 0.9261 GB, free: 25.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006303/1.999, allocations: 4.706 MB / 0.9307 GB, free: 21.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.999, allocations: 0 / 0.9307 GB, free: 21.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008578/2.008, allocations: 2.034 MB / 0.9327 GB, free: 19.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 225 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,90,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2472/2.255, allocations: 18.06 MB / 0.9503 GB, free: 184.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01828/2.273, allocations: 10.51 MB / 0.9606 GB, free: 182.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/2.273, allocations: 0 / 0.9606 GB, free: 182.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007542/2.281, allocations: 4.617 MB / 0.9651 GB, free: 181 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006393/2.287, allocations: 1.098 MB / 0.9662 GB, free: 180.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.142/2.429, allocations: 95.1 MB / 1.059 GB, free: 89.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00567/2.435, allocations: 5.738 MB / 1.065 GB, free: 83.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005676/2.441, allocations: 2.709 MB / 1.067 GB, free: 80.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004276/2.445, allocations: 3.873 MB / 1.071 GB, free: 77.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.362e-06/2.445, allocations: 0 / 1.071 GB, free: 77.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4534/2.898, allocations: 169.5 MB / 1.237 GB, free: 129.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.68/45.58, allocations: 6.641 kB / 1.237 GB, free: 129.2 MB / 0.5607 GB " [Timeout remaining time 614] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.csv --start-time 0 --stop-time 0.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 9.94431e-05 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 48.17132040206343] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia.phi', 'inertia.w'] 45.779676374047995 45.802171814 45.381643884 Calling exit ...