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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.499/1.499, allocations: 227.7 MB / 247.1 MB, free: 10.3 MB / 206.1 MB 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: 65.12 kB / 307.3 MB, free: 400 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1078, allocations: 50.54 MB / 357.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003278/0.1111, allocations: 1.641 MB / 359.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00023/0.1114, allocations: 63.77 kB / 359.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.1114, allocations: 4 kB / 359.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.1116, allocations: 7.875 kB / 359.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.1116, allocations: 15.86 kB / 359.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.1117, allocations: 19.97 kB / 359.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1119, allocations: 67.67 kB / 359.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.112, allocations: 23.97 kB / 359.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.895e-05/0.112, allocations: 19.94 kB / 359.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.1121, allocations: 27.84 kB / 359.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1121, allocations: 8 kB / 359.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.878e-05/0.1122, allocations: 4 kB / 359.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.1122, allocations: 11.98 kB / 359.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.1123, allocations: 31.88 kB / 359.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.1124, allocations: 68 kB / 359.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1124, allocations: 0 / 359.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1124, allocations: 0 / 359.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1124, allocations: 0 / 359.9 MB, free: 11.81 MB / 302.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.0004491/0.1129, allocations: 363.4 kB / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1129, allocations: 12.02 kB / 360.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.113, allocations: 42.75 kB / 360.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.113, allocations: 12.78 kB / 360.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.1132, allocations: 184.2 kB / 360.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1132, allocations: 8.375 kB / 360.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1132, allocations: 8.375 kB / 360.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1134, allocations: 69.05 kB / 360.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1134, allocations: 11.78 kB / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1134, allocations: 0 / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1134, allocations: 4 kB / 360.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.195e-05/0.1135, allocations: 39.91 kB / 360.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/0.1142, allocations: 375.6 kB / 361 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.1143, allocations: 62.5 kB / 361 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.1144, allocations: 16.86 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.1144, allocations: 4 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1144, allocations: 30.56 kB / 361.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.1144, allocations: 4 kB / 361.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007849/0.1152, allocations: 0.509 MB / 361.6 MB, free: 9.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.1152, allocations: 51.41 kB / 361.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.1154, allocations: 117.8 kB / 361.8 MB, free: 9.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1154, allocations: 33.7 kB / 361.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.592e-05/0.1155, allocations: 100.2 kB / 361.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.1155, allocations: 35.45 kB / 361.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.1155, allocations: 25.72 kB / 362 MB, free: 9.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1157, allocations: 318.8 kB / 362.3 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.512e-05/0.1157, allocations: 16.47 kB / 362.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.1158, allocations: 64.45 kB / 362.4 MB, free: 9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.1159, allocations: 89.08 kB / 362.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1159, allocations: 0 / 362.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001647/0.1161, allocations: 113.5 kB / 362.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1161, allocations: 7.938 kB / 362.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1161, allocations: 4.094 kB / 362.6 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/0.1162, allocations: 4 kB / 362.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.1163, allocations: 23.98 kB / 362.6 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1163, allocations: 7.875 kB / 362.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.906e-05/0.1163, allocations: 4 kB / 362.6 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1163, allocations: 8 kB / 362.6 MB, free: 8.719 MB / 302.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 8.419e-05/0.1164, allocations: 117.8 kB / 362.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.1165, allocations: 4 kB / 362.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.1165, allocations: 12.36 kB / 362.7 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1165, allocations: 4 kB / 362.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1165, allocations: 3.938 kB / 362.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1165, allocations: 3.938 kB / 362.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.117, allocations: 410.5 kB / 363.2 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.117, allocations: 12.16 kB / 363.2 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.423e-05/0.1171, allocations: 12 kB / 363.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.1171, allocations: 7.984 kB / 363.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1172, allocations: 4 kB / 363.2 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1172, allocations: 0 / 363.2 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1172, allocations: 3.938 kB / 363.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.1174, allocations: 239.6 kB / 363.4 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.1175, allocations: 85.05 kB / 363.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1175, allocations: 4 kB / 363.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.606e-05/0.1176, allocations: 4 kB / 363.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.1176, allocations: 7.984 kB / 363.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1176, allocations: 4.062 kB / 363.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.557e-05/0.1177, allocations: 95.27 kB / 363.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1177, allocations: 384 / 363.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1179, allocations: 20 kB / 363.6 MB, free: 7.555 MB / 302.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.0005758/0.1185, allocations: 0.7672 MB / 364.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.1187, allocations: 55.86 kB / 364.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.1187, allocations: 0 / 364.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.282e-05/0.1187, allocations: 36.42 kB / 364.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1191, allocations: 18.45 kB / 364.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.1208, allocations: 1.656 MB / 366.2 MB, free: 4.836 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.1211, allocations: 0.704 MB / 366.9 MB, free: 4.105 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.072e-05/0.1212, allocations: 8.422 kB / 366.9 MB, free: 4.098 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.1212, allocations: 19.44 kB / 366.9 MB, free: 4.078 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1212, allocations: 0 / 366.9 MB, free: 4.078 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.1455, allocations: 1.87 MB / 368.8 MB, free: 2.301 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/7.922, allocations: 3.438 kB / 368.8 MB, free: 2.301 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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)