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.001359/0.001359, allocations: 109 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.001502/0.001502, allocations: 213.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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001949/0.001949, allocations: 72.77 kB / 378.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2529, allocations: 53.36 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00292/0.2559, allocations: 1.678 MB / 433.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000265/0.2561, allocations: 63.78 kB / 433.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.349e-05/0.2562, allocations: 4 kB / 433.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.2563, allocations: 11.86 kB / 433.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.315e-05/0.2564, allocations: 15.86 kB / 433.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.2565, allocations: 15.98 kB / 433.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.2566, allocations: 71.66 kB / 433.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2567, allocations: 11.98 kB / 433.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.447e-05/0.2568, allocations: 27.92 kB / 433.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.2569, allocations: 27.86 kB / 433.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.2569, allocations: 4 kB / 433.8 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.2569, allocations: 4 kB / 433.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.2569, allocations: 15.98 kB / 433.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.257, allocations: 31.8 kB / 433.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.2571, allocations: 60.64 kB / 433.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.2571, allocations: 4 kB / 433.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2571, allocations: 0 / 433.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2571, allocations: 0 / 433.9 MB, free: 4.84 MB / 334.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.0004559/0.2576, allocations: 286.1 kB / 434.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2576, allocations: 12.03 kB / 434.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.988e-05/0.2577, allocations: 42.67 kB / 434.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.671e-05/0.2577, allocations: 8.891 kB / 434.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.2579, allocations: 130.4 kB / 434.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.2579, allocations: 8.375 kB / 434.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.2579, allocations: 8.375 kB / 434.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.2581, allocations: 66.23 kB / 434.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.2581, allocations: 7.938 kB / 434.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.2581, allocations: 0 / 434.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2581, allocations: 0 / 434.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.154e-05/0.2582, allocations: 39.92 kB / 434.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.2588, allocations: 338.7 kB / 434.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.2589, allocations: 62.5 kB / 434.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.259, allocations: 24.84 kB / 435 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.259, allocations: 4 kB / 435 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.259, allocations: 30.56 kB / 435 MB, free: 3.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.259, allocations: 0 / 435 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006804/0.2597, allocations: 375.2 kB / 435.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.2597, allocations: 51.41 kB / 435.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2598, allocations: 121.8 kB / 435.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.2598, allocations: 25.7 kB / 435.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.2599, allocations: 96.08 kB / 435.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.2599, allocations: 35.69 kB / 435.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.26, allocations: 25.7 kB / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2601, allocations: 322.8 kB / 436 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.2602, allocations: 19.98 kB / 436 MB, free: 2.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/0.2602, allocations: 63.83 kB / 436.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.2603, allocations: 93.06 kB / 436.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2603, allocations: 0 / 436.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001648/0.2605, allocations: 109.5 kB / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2605, allocations: 4 kB / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2605, allocations: 4 kB / 436.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2605, allocations: 0 / 436.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.2606, allocations: 27.92 kB / 436.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.2606, allocations: 11.97 kB / 436.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.2607, allocations: 4 kB / 436.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.2607, allocations: 8 kB / 436.4 MB, free: 2.141 MB / 334.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.162e-05/0.2608, allocations: 117.8 kB / 436.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.2608, allocations: 7.953 kB / 436.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.2608, allocations: 12.36 kB / 436.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2608, allocations: 4 kB / 436.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2609, allocations: 4.406 kB / 436.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2609, allocations: 0 / 436.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.2613, allocations: 381.6 kB / 436.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2613, allocations: 4 kB / 436.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.022e-05/0.2614, allocations: 19.98 kB / 436.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2614, allocations: 3.938 kB / 436.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2614, allocations: 4.156 kB / 436.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2614, allocations: 7.938 kB / 436.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2614, allocations: 4 kB / 436.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.2617, allocations: 235.7 kB / 437.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.2617, allocations: 7.938 kB / 437.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.2617, allocations: 4 kB / 437.2 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.2618, allocations: 8 kB / 437.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.2618, allocations: 3.984 kB / 437.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.2618, allocations: 4 kB / 437.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.673e-05/0.2619, allocations: 91.28 kB / 437.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2619, allocations: 0 / 437.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.2621, allocations: 20 kB / 437.3 MB, free: 1.102 MB / 334.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.0005348/0.2627, allocations: 0.7712 MB / 438 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.2628, allocations: 60.23 kB / 438.1 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2628, allocations: 0 / 438.1 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.2628, allocations: 32 kB / 438.1 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.2631, allocations: 20.41 kB / 438.2 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.2648, allocations: 1.665 MB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.2651, allocations: 0.6924 MB / 440.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.372e-05/0.2652, allocations: 4.438 kB / 440.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.2652, allocations: 23.42 kB / 440.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2652, allocations: 0 / 440.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.2901, allocations: 1.972 MB / 442.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.853, allocations: 10.41 kB / 442.5 MB, free: 11.74 MB / 350.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.25406372640282] Failed to read output from testmodel.py, exit status != 0: ['time', 'accelerate.s', 'accelerate.v'] 7.92595640104264 7.954476154 7.69215514 Calling exit ...