Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 211.6 kB / 22.99 MB, free: 2.961 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.056/1.056, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo): time 0.008305/0.008305, allocations: 1.6 MB / 314.8 MB, free: 364 kB / 234.7 MB " [Timeout remaining time 180] Using package ElectricBraking with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ElectricBraking.Examples.Translational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking") translateModel(ElectricBraking.Examples.Translational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking") [Timeout 660] "Notification: ElectricBraking requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 67.59 kB / 437.1 MB, free: 46.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09314, allocations: 53.77 MB / 490.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.002632/0.09577, allocations: 2.187 MB / 493.1 MB, free: 8.605 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009875/0.09676, allocations: 0.7752 MB / 493.8 MB, free: 7.828 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.09687, allocations: 3.938 kB / 493.8 MB, free: 7.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.09714, allocations: 55.56 kB / 493.9 MB, free: 7.77 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.457e-05/0.09723, allocations: 63.48 kB / 493.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.09743, allocations: 67.84 kB / 494 MB, free: 7.641 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.09763, allocations: 207 kB / 494.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.09775, allocations: 29.8 kB / 494.2 MB, free: 7.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.09793, allocations: 95.58 kB / 494.3 MB, free: 7.312 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.09803, allocations: 63.64 kB / 494.4 MB, free: 7.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.09805, allocations: 16 kB / 494.4 MB, free: 7.234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.09812, allocations: 31.98 kB / 494.4 MB, free: 7.203 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.09814, allocations: 35.84 kB / 494.5 MB, free: 7.168 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/0.09819, allocations: 79.59 kB / 494.6 MB, free: 7.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.09843, allocations: 203.1 kB / 494.8 MB, free: 6.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.09844, allocations: 0 / 494.8 MB, free: 6.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.09844, allocations: 4 kB / 494.8 MB, free: 6.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.09844, allocations: 0 / 494.8 MB, free: 6.887 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000531/0.09897, allocations: 409.4 kB / 495.2 MB, free: 6.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.09901, allocations: 11.97 kB / 495.2 MB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.09915, allocations: 40.78 kB / 495.2 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.09937, allocations: 182.2 kB / 495.4 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.09939, allocations: 12.38 kB / 495.4 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.09942, allocations: 12.38 kB / 495.4 MB, free: 6.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.09965, allocations: 156.1 kB / 495.6 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.09966, allocations: 0 / 495.6 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.09968, allocations: 8 kB / 495.6 MB, free: 6.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.09969, allocations: 4 kB / 495.6 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.09983, allocations: 87.89 kB / 495.7 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006928/0.1005, allocations: 0.597 MB / 496.3 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1007, allocations: 102.5 kB / 496.4 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.979e-05/0.1007, allocations: 24.86 kB / 496.4 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.1007, allocations: 4.219 kB / 496.4 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.1008, allocations: 42.5 kB / 496.4 MB, free: 5.082 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.414e-06/0.1008, allocations: 4 kB / 496.4 MB, free: 5.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008515/0.1016, allocations: 420.7 kB / 496.8 MB, free: 4.633 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.1016, allocations: 51.41 kB / 496.9 MB, free: 4.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1018, allocations: 191.2 kB / 497.1 MB, free: 4.371 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1018, allocations: 29.7 kB / 497.1 MB, free: 4.336 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.1019, allocations: 136.3 kB / 497.2 MB, free: 4.195 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1019, allocations: 47.59 kB / 497.3 MB, free: 4.148 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.1019, allocations: 33.72 kB / 497.3 MB, free: 4.109 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.436e-05/0.102, allocations: 330.8 kB / 497.6 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.69e-05/0.1021, allocations: 35.92 kB / 497.7 MB, free: 3.742 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.1021, allocations: 87.75 kB / 497.8 MB, free: 3.637 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1022, allocations: 129.9 kB / 497.9 MB, free: 3.488 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1022, allocations: 0 / 497.9 MB, free: 3.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000181/0.1024, allocations: 160.8 kB / 498.1 MB, free: 3.328 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1024, allocations: 8 kB / 498.1 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1024, allocations: 0 / 498.1 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1025, allocations: 7.938 kB / 498.1 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1026, allocations: 32.14 kB / 498.1 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1026, allocations: 11.98 kB / 498.1 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.1026, allocations: 11.94 kB / 498.1 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1026, allocations: 4 kB / 498.1 MB, free: 3.254 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.251e-05/0.1027, allocations: 129.8 kB / 498.3 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.1028, allocations: 15.91 kB / 498.3 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.1028, allocations: 21.47 kB / 498.3 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1028, allocations: 7.922 kB / 498.3 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1028, allocations: 0 / 498.3 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1028, allocations: 3.938 kB / 498.3 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.1032, allocations: 399.6 kB / 498.7 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1032, allocations: 0 / 498.7 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.1033, allocations: 27.98 kB / 498.7 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1033, allocations: 0 / 498.7 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1033, allocations: 8 kB / 498.7 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1033, allocations: 3.938 kB / 498.7 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1033, allocations: 4 kB / 498.7 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.1035, allocations: 269.9 kB / 499 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.1036, allocations: 11.91 kB / 499 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1036, allocations: 12.2 kB / 499 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.547e-05/0.1036, allocations: 3.938 kB / 499 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.1036, allocations: 16.02 kB / 499 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1037, allocations: 4 kB / 499 MB, free: 2.258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.185e-05/0.1037, allocations: 136.1 kB / 499.2 MB, free: 2.125 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1037, allocations: 0 / 499.2 MB, free: 2.125 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000183/0.1039, allocations: 32 kB / 499.2 MB, free: 2.094 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T) * 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 (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 Backend phase and start with SimCode phase: time 7.556e-05/0.104, allocations: 103.2 kB / 499.3 MB, free: 1.984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.1041, allocations: 87.97 kB / 499.4 MB, free: 1.898 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1041, allocations: 0 / 499.4 MB, free: 1.898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.1042, allocations: 47.86 kB / 499.4 MB, free: 1.852 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.1045, allocations: 36.14 kB / 499.5 MB, free: 1.816 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007756/0.1052, allocations: 0.6052 MB / 0.4884 GB, free: 1.172 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.851e-05/0.1053, allocations: 116.2 kB / 0.4885 GB, free: 1.035 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.1054, allocations: 15.44 kB / 0.4885 GB, free: 1.023 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1054, allocations: 0 / 0.4885 GB, free: 1.023 MB / 346.7 MB Notification: Performance of Templates: time 0.002794/0.1081, allocations: 2.147 MB / 0.4906 GB, free: 14.88 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking > ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.12681802501902]