Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BikeTrailer_BikeTrailer.Examples.TestTrailerControlled.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.0009517/0.0009517, allocations: 77.14 kB / 20.67 MB, free: 3.836 MB / 18.57 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.001582/0.001582, allocations: 165 kB / 24.06 MB, free: 456 kB / 18.57 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 0.912/0.912, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.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.008098/0.008098, allocations: 1.32 MB / 262.4 MB, free: 11.59 MB / 250.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.TestTrailerControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=840000,variableFilter="",fileNamePrefix="BikeTrailer_BikeTrailer.Examples.TestTrailerControlled") translateModel(BikeTrailer.Examples.TestTrailerControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=840000,variableFilter="",fileNamePrefix="BikeTrailer_BikeTrailer.Examples.TestTrailerControlled") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 332.5 MB, free: 17.83 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.174e-05, allocations: 8.359 kB / 332.5 MB, free: 17.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.TestTrailerControlled): time 0.006182/0.006204, allocations: 5.002 MB / 337.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003957/0.01016, allocations: 2.395 MB / 339.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000614/0.01078, allocations: 31.75 kB / 339.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008352/0.01161, allocations: 285.6 kB / 340.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008236/0.01243, allocations: 389.2 kB / 340.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.01349, allocations: 0.5965 MB / 341.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.01466, allocations: 1.352 MB / 342.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.01514, allocations: 319.9 kB / 342.9 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008183/0.01596, allocations: 0.7326 MB / 343.6 MB, free: 6.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005168/0.01648, allocations: 406.7 kB / 344 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.01663, allocations: 128 kB / 344.1 MB, free: 6.137 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.01688, allocations: 175.9 kB / 344.3 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.01714, allocations: 382.7 kB / 344.7 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003393/0.01748, allocations: 398.8 kB / 345.1 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.01853, allocations: 1.043 MB / 346.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01853, allocations: 0 / 346.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01853, allocations: 4 kB / 346.1 MB, free: 4.148 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.01855, allocations: 0 / 346.1 MB, free: 4.148 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002138/0.02069, allocations: 1.757 MB / 347.9 MB, free: 2.352 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.02073, allocations: 8.031 kB / 347.9 MB, free: 2.344 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.02111, allocations: 231.8 kB / 348.1 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.02211, allocations: 0.8299 MB / 348.9 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.02217, allocations: 66.38 kB / 349 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.02229, allocations: 88.31 kB / 349.1 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008433/0.02313, allocations: 0.7368 MB / 349.8 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/0.02317, allocations: 11.92 kB / 349.8 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.02324, allocations: 32 kB / 349.9 MB, free: 240 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.02326, allocations: 16 kB / 349.9 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.02375, allocations: 265.6 kB / 350.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.0263, allocations: 2.976 MB / 353.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.02675, allocations: 322.3 kB / 353.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000415/0.02716, allocations: 105.1 kB / 353.5 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.02719, allocations: 8.5 kB / 353.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.02741, allocations: 195.8 kB / 353.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of pre-optimization done (n=61): time 2.304e-06/0.02741, allocations: 0 / 353.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=68): time 0.002709/0.03012, allocations: 1.776 MB / 355.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.03018, allocations: 162.9 kB / 355.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006979/0.03088, allocations: 1.063 MB / 356.7 MB, free: 9.133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.03092, allocations: 41.7 kB / 356.8 MB, free: 9.086 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.03128, allocations: 0.6802 MB / 357.4 MB, free: 8.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.03141, allocations: 253.8 kB / 357.7 MB, free: 8.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.03155, allocations: 148.2 kB / 357.8 MB, free: 7.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.03169, allocations: 0.5042 MB / 358.3 MB, free: 7.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.03181, allocations: 91.61 kB / 358.4 MB, free: 7.387 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.03209, allocations: 442 kB / 358.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.03247, allocations: 430.7 kB / 359.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.03247, allocations: 0 / 359.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0005631/0.03304, allocations: 0.5664 MB / 359.8 MB, free: 5.758 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.03305, allocations: 8 kB / 359.9 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.03306, allocations: 4.531 kB / 359.9 MB, free: 5.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.03308, allocations: 12 kB / 359.9 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.03347, allocations: 179.7 kB / 360 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.03348, allocations: 8 kB / 360.1 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.03368, allocations: 35.97 kB / 360.1 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.03371, allocations: 24 kB / 360.1 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002204/0.03393, allocations: 220.8 kB / 360.3 MB, free: 5.273 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005457/0.03448, allocations: 434 kB / 360.7 MB, free: 4.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003375/0.03482, allocations: 422.8 kB / 361.2 MB, free: 4.234 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.03482, allocations: 4 kB / 361.2 MB, free: 4.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.0005249/0.03534, allocations: 0.5589 MB / 361.7 MB, free: 3.664 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.03535, allocations: 8 kB / 361.7 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-06/0.03536, allocations: 4 kB / 361.7 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/0.03537, allocations: 8 kB / 361.7 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.0357, allocations: 167.7 kB / 361.9 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.03571, allocations: 8 kB / 361.9 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.0359, allocations: 31.98 kB / 361.9 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.03592, allocations: 24.25 kB / 362 MB, free: 3.418 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.track.nextTimeEvent,$whenCondition1,track.nextTimeEventScaled,$PRE.track.nextTimeEventScaled,track.nextTimeEvent,trailer.energyBike.local_reset,trailer.energyDrive.local_reset,PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0001636/0.03609, allocations: 325.8 kB / 362.3 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.03621, allocations: 143.2 kB / 362.4 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007953/0.037, allocations: 0.6098 MB / 363 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.03701, allocations: 3.984 kB / 363 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.03701, allocations: 0 / 363 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.03721, allocations: 187 kB / 363.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.172e-05/0.03729, allocations: 16 kB / 363.2 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.03746, allocations: 31.98 kB / 363.3 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.03753, allocations: 52.66 kB / 363.3 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009552/0.03848, allocations: 0.6917 MB / 364 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007346/0.03922, allocations: 0.8978 MB / 364.9 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001583/0.03938, allocations: 146.1 kB / 365.1 MB, free: 288 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004259/0.0398, allocations: 0.6183 MB / 365.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of Backend: time 3.51e-07/0.0398, allocations: 0 / 365.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.04137, allocations: 0.9237 MB / 366.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of SimCode: time 0.003148/0.04452, allocations: 3.107 MB / 369.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of Templates: time 0.01985/0.06437, allocations: 17.45 MB / 387.2 MB, free: 10.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f BikeTrailer_BikeTrailer.Examples.TestTrailerControlled.makefile [Timeout 660] (rm -f BikeTrailer_BikeTrailer.Examples.TestTrailerControlled.pipe ; mkfifo BikeTrailer_BikeTrailer.Examples.TestTrailerControlled.pipe ; head -c 1048576 < BikeTrailer_BikeTrailer.Examples.TestTrailerControlled.pipe >> ../files/BikeTrailer_BikeTrailer.Examples.TestTrailerControlled.sim & ./BikeTrailer_BikeTrailer.Examples.TestTrailerControlled -abortSlowSimulation -alarm=240 -lv LOG_STATS > BikeTrailer_BikeTrailer.Examples.TestTrailerControlled.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.389945815782994]