Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 205.9 kB / 18.74 MB, free: 4.312 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.398/1.398, allocations: 227.7 MB / 247.2 MB, free: 10.13 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.001838/0.001838, allocations: 63.89 kB / 358.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2475, allocations: 50.54 MB / 409.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003689/0.2512, allocations: 2.427 MB / 411.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004845/0.2518, allocations: 262.5 kB / 411.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.2519, allocations: 4 kB / 411.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.252, allocations: 43.58 kB / 411.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.2522, allocations: 79.27 kB / 411.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.2524, allocations: 55.88 kB / 411.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.2527, allocations: 290.7 kB / 412.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.2529, allocations: 101.7 kB / 412.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.253, allocations: 107.6 kB / 412.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.2532, allocations: 115.5 kB / 412.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.2533, allocations: 20 kB / 412.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.742e-05/0.2533, allocations: 24 kB / 412.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.2534, allocations: 55.77 kB / 412.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.2535, allocations: 127.4 kB / 412.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.2539, allocations: 301.7 kB / 413 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2539, allocations: 0 / 413 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2539, allocations: 0 / 413 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2539, allocations: 0 / 413 MB, free: 13.36 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000786/0.2547, allocations: 0.5455 MB / 413.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2547, allocations: 12.03 kB / 413.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.102e-05/0.2548, allocations: 58.73 kB / 413.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.2549, allocations: 28.75 kB / 413.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.2552, allocations: 252.6 kB / 413.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2553, allocations: 20.94 kB / 414 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.2553, allocations: 28.36 kB / 414 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.2557, allocations: 232 kB / 414.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.2557, allocations: 15.91 kB / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.2558, allocations: 12 kB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2558, allocations: 4 kB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.2561, allocations: 167.8 kB / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.2572, allocations: 0.7971 MB / 415.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.2577, allocations: 303.6 kB / 415.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.258, allocations: 126.5 kB / 415.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.258, allocations: 8 kB / 415.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.258, allocations: 34.56 kB / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.258, allocations: 0 / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002807/0.2609, allocations: 1.949 MB / 417.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.2609, allocations: 110.8 kB / 417.7 MB, free: 8.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.2611, allocations: 194.8 kB / 417.9 MB, free: 7.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.2612, allocations: 29.7 kB / 417.9 MB, free: 7.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2613, allocations: 140.9 kB / 418.1 MB, free: 7.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.2614, allocations: 166.5 kB / 418.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.2615, allocations: 78.12 kB / 418.3 MB, free: 7.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2617, allocations: 334.8 kB / 418.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.2618, allocations: 88.84 kB / 418.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.2621, allocations: 158.5 kB / 418.9 MB, free: 6.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.2625, allocations: 285.3 kB / 419.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2625, allocations: 0 / 419.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004979/0.263, allocations: 343.7 kB / 419.5 MB, free: 6.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.263, allocations: 7.938 kB / 419.5 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.263, allocations: 4 kB / 419.5 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.263, allocations: 8.938 kB / 419.5 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.2634, allocations: 91.84 kB / 419.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2634, allocations: 4 kB / 419.6 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.2635, allocations: 15.98 kB / 419.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.2635, allocations: 16 kB / 419.6 MB, free: 6.172 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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 0.0001454/0.2637, allocations: 149.9 kB / 419.8 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.8e-05/0.2638, allocations: 35.75 kB / 419.8 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.407e-05/0.2639, allocations: 33.88 kB / 419.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2639, allocations: 7.984 kB / 419.9 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2639, allocations: 0 / 419.9 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.2639, allocations: 7.938 kB / 419.9 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.2654, allocations: 1.047 MB / 420.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2654, allocations: 4.281 kB / 420.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.2657, allocations: 95.83 kB / 421 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.2658, allocations: 4 kB / 421 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.2658, allocations: 12 kB / 421 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.2658, allocations: 7.938 kB / 421 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2658, allocations: 4 kB / 421 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008143/0.2666, allocations: 0.7211 MB / 421.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.2667, allocations: 108.9 kB / 421.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.2668, allocations: 16.05 kB / 421.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.267, allocations: 8 kB / 421.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.2671, allocations: 35.84 kB / 421.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.2671, allocations: 16 kB / 421.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.2672, allocations: 140.9 kB / 422.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2672, allocations: 0 / 422.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004214/0.2676, allocations: 76 kB / 422.2 MB, free: 3.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.001189/0.2688, allocations: 1.269 MB / 423.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00045/0.2693, allocations: 271.7 kB / 423.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.2693, allocations: 4 kB / 423.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.2695, allocations: 135.8 kB / 423.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/0.2702, allocations: 84.97 kB / 423.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.2741, allocations: 3.284 MB / 427.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.2745, allocations: 0.7721 MB / 428 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.2747, allocations: 38.94 kB / 428 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.2748, allocations: 91.41 kB / 428.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2748, allocations: 0 / 428.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.3037, allocations: 5.942 MB / 434 MB, free: 7.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/8.747, allocations: 22.67 kB / 434.1 MB, free: 7.465 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper_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_Damper.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)