Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.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.001031/0.001031, allocations: 108.3 kB / 19.71 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.001202/0.001202, allocations: 217.3 kB / 23 MB, free: 2.98 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.043/1.043, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BikeTrailer 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BikeTrailer 1.3.0/package.mo): time 0.009531/0.009531, allocations: 1.755 MB / 314.9 MB, free: 136 kB / 234.7 MB " [Timeout remaining time 180] Using package BikeTrailer with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BikeTrailer 1.3.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(BikeTrailer.Examples.TestTrailerWithoutDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=840000,variableFilter="",fileNamePrefix="BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive") translateModel(BikeTrailer.Examples.TestTrailerWithoutDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=840000,variableFilter="",fileNamePrefix="BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive") [Timeout 660] "Notification: BikeTrailer 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.001474/0.001474, allocations: 73.45 kB / 437.3 MB, free: 46.49 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07386/0.07534, allocations: 53.8 MB / 491.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerWithoutDrive): time 0.004342/0.07968, allocations: 3.905 MB / 495 MB, free: 6.605 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.08235, allocations: 1.893 MB / 496.9 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004383/0.08278, allocations: 23.81 kB / 496.9 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006953/0.08348, allocations: 218.4 kB / 497.1 MB, free: 4.465 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000563/0.08404, allocations: 274.2 kB / 497.4 MB, free: 4.195 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.08463, allocations: 347.3 kB / 497.7 MB, free: 3.855 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000745/0.08537, allocations: 0.8883 MB / 498.6 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002998/0.08567, allocations: 213.1 kB / 498.8 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.086, allocations: 342.7 kB / 499.2 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.08631, allocations: 310.3 kB / 499.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.539e-05/0.08639, allocations: 88 kB / 499.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.08657, allocations: 136 kB / 499.7 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.08674, allocations: 271.1 kB / 500 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.08696, allocations: 369.9 kB / 0.4886 GB, free: 1.262 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009064/0.08786, allocations: 1.202 MB / 0.4898 GB, free: 56 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.08787, allocations: 0 / 0.4898 GB, free: 56 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.08787, allocations: 0 / 0.4898 GB, free: 56 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.08788, allocations: 0 / 0.4898 GB, free: 56 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00143/0.08931, allocations: 1.247 MB / 0.491 GB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.08935, allocations: 11.97 kB / 0.491 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.08955, allocations: 124.2 kB / 0.4911 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.09026, allocations: 0.6895 MB / 0.4918 GB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.09029, allocations: 41.69 kB / 0.4918 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.09036, allocations: 64.08 kB / 0.4919 GB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006709/0.09103, allocations: 0.6131 MB / 0.4925 GB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.09105, allocations: 4 kB / 0.4925 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.09108, allocations: 31.94 kB / 0.4925 GB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.0911, allocations: 16 kB / 0.4925 GB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.09161, allocations: 424.9 kB / 0.4929 GB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.09368, allocations: 2.131 MB / 0.495 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/0.09417, allocations: 340.2 kB / 0.4954 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.09435, allocations: 149.5 kB / 0.4955 GB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.09437, allocations: 8.266 kB / 0.4955 GB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/0.09465, allocations: 247.1 kB / 0.4957 GB, free: 9.727 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.403e-06/0.09465, allocations: 4 kB / 0.4957 GB, free: 9.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.002066/0.09672, allocations: 1.778 MB / 0.4975 GB, free: 7.887 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.09677, allocations: 106.8 kB / 0.4976 GB, free: 7.758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008357/0.09761, allocations: 1.111 MB / 0.4987 GB, free: 6.641 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.09764, allocations: 37.7 kB / 0.4987 GB, free: 6.598 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.09788, allocations: 468.7 kB / 0.4991 GB, free: 6.133 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.882e-05/0.09797, allocations: 178.5 kB / 0.4993 GB, free: 5.957 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.646e-05/0.09806, allocations: 94.3 kB / 0.4994 GB, free: 5.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.513e-05/0.09815, allocations: 333.9 kB / 0.4997 GB, free: 5.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.09835, allocations: 171.3 kB / 0.4999 GB, free: 5.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.09863, allocations: 340.5 kB / 0.5002 GB, free: 4.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.0991, allocations: 495.3 kB / 0.5007 GB, free: 4.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.0991, allocations: 0 / 0.5007 GB, free: 4.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006182/0.09972, allocations: 0.602 MB / 0.5013 GB, free: 3.809 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.09973, allocations: 4 kB / 0.5013 GB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.09974, allocations: 4 kB / 0.5013 GB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.09976, allocations: 8 kB / 0.5013 GB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.1, allocations: 132.2 kB / 0.5014 GB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.1001, allocations: 15.94 kB / 0.5014 GB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.1002, allocations: 23.98 kB / 0.5015 GB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.1002, allocations: 20 kB / 0.5015 GB, free: 3.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003674/0.1006, allocations: 409.2 kB / 0.5019 GB, free: 3.199 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002346/0.1008, allocations: 316.5 kB / 0.5022 GB, free: 2.832 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004211/0.1012, allocations: 475.5 kB / 0.5026 GB, free: 2.312 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.916e-06/0.1012, allocations: 8 kB / 0.5026 GB, free: 2.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0005563/0.1018, allocations: 0.5708 MB / 0.5032 GB, free: 1.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1018, allocations: 6.031 kB / 0.5032 GB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1018, allocations: 4.5 kB / 0.5032 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.1018, allocations: 12 kB / 0.5032 GB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.1021, allocations: 127.8 kB / 0.5033 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1021, allocations: 11.88 kB / 0.5033 GB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1022, allocations: 31.91 kB / 0.5034 GB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.1022, allocations: 20 kB / 0.5034 GB, free: 1.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.track.nextTimeEvent,$whenCondition1,track.nextTimeEventScaled,$PRE.track.nextTimeEventScaled,track.nextTimeEvent,trailer.energyDrive.local_reset,trailer.energyBike.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0001154/0.1023, allocations: 212.1 kB / 0.5036 GB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.1024, allocations: 91.39 kB / 0.5037 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006171/0.103, allocations: 0.5323 MB / 0.5042 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.103, allocations: 7.984 kB / 0.5042 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.103, allocations: 0 / 0.5042 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.103, allocations: 0 / 0.5042 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.1043, allocations: 1.242 MB / 0.5054 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1043, allocations: 0 / 0.5054 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.1046, allocations: 111.9 kB / 0.5055 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1046, allocations: 4 kB / 0.5055 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.1046, allocations: 15.98 kB / 0.5055 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1046, allocations: 4 kB / 0.5055 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1046, allocations: 3.938 kB / 0.5056 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008045/0.1054, allocations: 0.8319 MB / 0.5064 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.1056, allocations: 143.4 kB / 0.5065 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.1056, allocations: 16 kB / 0.5065 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1058, allocations: 19.98 kB / 0.5065 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.1058, allocations: 36.31 kB / 0.5066 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.1059, allocations: 19.94 kB / 0.5066 GB, free: 14.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006004/0.1065, allocations: 0.7958 MB / 0.5074 GB, free: 13.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1065, allocations: 0 / 0.5074 GB, free: 13.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005287/0.107, allocations: 235.9 kB / 0.5076 GB, free: 13.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (trailer.energyBike.y,trailer.vehicle.windSpeed.s,trailer.vehicle.windSpeed.v,bike.s,bike.v,trailer.energyDrive.y) * Number of discrete variables: 3 ($whenCondition1,track.nextTimeEvent,track.nextTimeEventScaled) * Number of discrete states: 2 (track.nextTimeEvent,track.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001043/0.108, allocations: 457.3 kB / 0.508 GB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007579/0.1088, allocations: 0.6282 MB / 0.5086 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1088, allocations: 4 kB / 0.5086 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.109, allocations: 198.9 kB / 0.5088 GB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.1095, allocations: 139.5 kB / 0.509 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.1115, allocations: 2.023 MB / 0.5109 GB, free: 9.832 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.1118, allocations: 433.6 kB / 0.5114 GB, free: 9.375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.1119, allocations: 59.42 kB / 0.5114 GB, free: 9.316 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1119, allocations: 0 / 0.5114 GB, free: 9.316 MB / 378.7 MB Notification: Performance of Templates: time 0.01007/0.122, allocations: 10.92 MB / 0.5221 GB, free: 14.42 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.makefile [Timeout 660] (rm -f BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.pipe ; mkfifo BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.pipe ; head -c 1048576 < BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.pipe >> ../files/BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.sim & ./BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive > BikeTrailer_BikeTrailer.Examples.TestTrailerWithoutDrive.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.04978829389438]