Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.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.001284/0.001284, allocations: 120 kB / 18.5 MB, free: 4.52 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.001615/0.001615, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.492/1.492, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Accelerate",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.00229/0.00229, allocations: 68.06 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1085, allocations: 53.33 MB / 427 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002963/0.1115, allocations: 1.653 MB / 428.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002483/0.1117, allocations: 75.7 kB / 428.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.1118, allocations: 0 / 428.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.1119, allocations: 15.86 kB / 428.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.112, allocations: 15.86 kB / 428.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.1121, allocations: 15.98 kB / 428.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.1122, allocations: 67.72 kB / 428.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1123, allocations: 11.98 kB / 428.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.255e-05/0.1124, allocations: 27.88 kB / 428.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.1124, allocations: 27.84 kB / 428.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1125, allocations: 4 kB / 428.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.1125, allocations: 8 kB / 428.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.1125, allocations: 15.92 kB / 428.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.1125, allocations: 31.88 kB / 429 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.1127, allocations: 63.72 kB / 429 MB, free: 2.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1127, allocations: 0 / 429 MB, free: 2.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1127, allocations: 0 / 429 MB, free: 2.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1127, allocations: 0 / 429 MB, free: 2.75 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004967/0.1132, allocations: 363.3 kB / 429.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1132, allocations: 12.02 kB / 429.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.1133, allocations: 38.75 kB / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.1133, allocations: 8.891 kB / 429.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1135, allocations: 188.2 kB / 429.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1136, allocations: 8.375 kB / 429.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.1136, allocations: 4.375 kB / 429.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1137, allocations: 70.23 kB / 429.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1138, allocations: 3.938 kB / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1138, allocations: 0 / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1138, allocations: 4 kB / 429.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.372e-05/0.1138, allocations: 42.3 kB / 429.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006402/0.1145, allocations: 379.6 kB / 430.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1146, allocations: 58.5 kB / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.1146, allocations: 20.84 kB / 430.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.1146, allocations: 0 / 430.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1147, allocations: 34.56 kB / 430.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.1147, allocations: 0 / 430.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007743/0.1154, allocations: 0.5132 MB / 430.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.1155, allocations: 51.41 kB / 430.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.1156, allocations: 129.8 kB / 430.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1156, allocations: 25.7 kB / 430.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.1157, allocations: 96.08 kB / 431 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.1157, allocations: 35.69 kB / 431.1 MB, free: 404 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.1157, allocations: 29.72 kB / 431.1 MB, free: 368 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1159, allocations: 318.8 kB / 431.4 MB, free: 40 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.629e-05/0.1159, allocations: 16 kB / 431.4 MB, free: 24 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.975e-05/0.116, allocations: 65.08 kB / 431.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1161, allocations: 89.08 kB / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1161, allocations: 0 / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001656/0.1163, allocations: 113.5 kB / 431.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1163, allocations: 4 kB / 431.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1163, allocations: 4 kB / 431.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1163, allocations: 96 / 431.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/0.1164, allocations: 27.98 kB / 431.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.1164, allocations: 11.88 kB / 431.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.1165, allocations: 0 / 431.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1165, allocations: 4 kB / 431.7 MB, free: 15.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.328e-05/0.1166, allocations: 121.8 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.1166, allocations: 11.94 kB / 431.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.1166, allocations: 8.375 kB / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1166, allocations: 4 kB / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1166, allocations: 7.938 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1166, allocations: 0 / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.1171, allocations: 414.5 kB / 432.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1171, allocations: 0 / 432.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.172e-05/0.1172, allocations: 19.98 kB / 432.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1172, allocations: 4.156 kB / 432.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1172, allocations: 4 kB / 432.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1172, allocations: 0 / 432.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1172, allocations: 7.938 kB / 432.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.1175, allocations: 236.1 kB / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.1175, allocations: 89.06 kB / 432.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.1175, allocations: 3.938 kB / 432.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.1176, allocations: 4.094 kB / 432.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.1176, allocations: 15.92 kB / 432.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1176, allocations: 4 kB / 432.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.979e-05/0.1177, allocations: 91.27 kB / 432.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1177, allocations: 4.062 kB / 432.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.118, allocations: 16 kB / 432.8 MB, free: 14.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005746/0.1185, allocations: 0.7634 MB / 433.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.1187, allocations: 55.86 kB / 433.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1187, allocations: 0 / 433.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/0.1187, allocations: 27.92 kB / 433.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.119, allocations: 19.05 kB / 433.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1209, allocations: 1.664 MB / 435.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.1213, allocations: 0.6968 MB / 436 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.904e-05/0.1213, allocations: 8.422 kB / 436 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.1214, allocations: 19.44 kB / 436 MB, free: 11.03 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1214, allocations: 4 kB / 436 MB, free: 11.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.1467, allocations: 1.915 MB / 438 MB, free: 9.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.041, allocations: 16.59 kB / 438 MB, free: 9.215 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.72825146606192] Failed to read output from testmodel.py, exit status != 0: ['time', 'accelerate.s', 'accelerate.v'] 8.112740358803421 8.314003826 8.198599334 Calling exit ...