Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BikeTrailer_BikeTrailer.Examples.ChargeBattery.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.0009582/0.0009582, allocations: 77.86 kB / 20.66 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.0009828/0.0009828, allocations: 165 kB / 24.06 MB, free: 452 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.9774/0.9774, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.005472/0.005472, allocations: 1.314 MB / 262.4 MB, free: 11.57 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.ChargeBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=72000,variableFilter="",fileNamePrefix="BikeTrailer_BikeTrailer.Examples.ChargeBattery") translateModel(BikeTrailer.Examples.ChargeBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=72000,variableFilter="",fileNamePrefix="BikeTrailer_BikeTrailer.Examples.ChargeBattery") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 332.5 MB, free: 17.86 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.588e-05, allocations: 2.312 kB / 332.5 MB, free: 17.85 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.ChargeBattery): time 0.003414/0.00343, allocations: 2.632 MB / 335.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.00448, allocations: 0.6349 MB / 335.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.004641, allocations: 7.938 kB / 335.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.004839, allocations: 51.5 kB / 335.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.004984, allocations: 63.42 kB / 335.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.005297, allocations: 91.89 kB / 336 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.00559, allocations: 326.7 kB / 336.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.005748, allocations: 119.6 kB / 336.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.005859, allocations: 187.6 kB / 336.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.005991, allocations: 103.7 kB / 336.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.006026, allocations: 36 kB / 336.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.817e-05/0.006054, allocations: 32 kB / 336.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.006092, allocations: 79.75 kB / 336.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.006148, allocations: 107.7 kB / 336.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.006331, allocations: 215.2 kB / 337.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.006333, allocations: 4 kB / 337.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.006334, allocations: 0 / 337.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.006338, allocations: 0 / 337.2 MB, free: 13.16 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0004724/0.006811, allocations: 0.6013 MB / 337.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.006844, allocations: 12.03 kB / 337.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.006897, allocations: 52.75 kB / 337.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.007064, allocations: 226 kB / 338 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.007112, allocations: 72.62 kB / 338.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.007138, allocations: 28.38 kB / 338.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.007348, allocations: 336.1 kB / 338.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.007362, allocations: 4.188 kB / 338.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.007379, allocations: 12.12 kB / 338.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.007386, allocations: 15.94 kB / 338.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.007471, allocations: 88.41 kB / 338.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007439/0.008215, allocations: 1.336 MB / 339.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.00839, allocations: 107.1 kB / 340 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/0.008414, allocations: 23.67 kB / 340.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.008425, allocations: 0 / 340.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.00844, allocations: 45.52 kB / 340.1 MB, free: 10 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.008442, allocations: 0 / 340.1 MB, free: 10 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003323/0.008774, allocations: 177 kB / 340.3 MB, free: 9.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.012e-05/0.008784, allocations: 51.41 kB / 340.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/0.008864, allocations: 245.1 kB / 340.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.008872, allocations: 29.7 kB / 340.6 MB, free: 9.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.008927, allocations: 242.7 kB / 340.8 MB, free: 9.227 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.008942, allocations: 31.7 kB / 340.9 MB, free: 9.195 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.008985, allocations: 43.34 kB / 340.9 MB, free: 9.145 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.009034, allocations: 0.504 MB / 341.4 MB, free: 8.629 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.009056, allocations: 12 kB / 341.4 MB, free: 8.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.5e-05/0.009101, allocations: 124.1 kB / 341.5 MB, free: 8.457 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.708e-05/0.009178, allocations: 140.7 kB / 341.7 MB, free: 8.277 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00918, allocations: 4 kB / 341.7 MB, free: 8.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001989/0.009379, allocations: 188.9 kB / 341.9 MB, free: 8.078 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.00939, allocations: 8.281 kB / 341.9 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.009394, allocations: 4 kB / 341.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001014/0.009495, allocations: 39.64 kB / 341.9 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.00955, allocations: 31.92 kB / 341.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005691/0.01012, allocations: 2.02 MB / 344 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.01017, allocations: 19.89 kB / 344 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.01018, allocations: 12.06 kB / 344 MB, free: 5.824 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 (battery.soc.local_reset,energy.local_reset,cccvCharger.CV) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/0.01024, allocations: 172.5 kB / 344.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.01026, allocations: 15.91 kB / 344.2 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.477e-05/0.01028, allocations: 21.45 kB / 344.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.01028, allocations: 0 / 344.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01028, allocations: 0 / 344.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.01029, allocations: 15.84 kB / 344.2 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.0103, allocations: 11.98 kB / 344.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.01036, allocations: 8 kB / 344.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.01038, allocations: 15.92 kB / 344.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001496/0.01053, allocations: 224.4 kB / 344.5 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001183/0.01065, allocations: 379 kB / 344.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.244e-05/0.01068, allocations: 32.2 kB / 344.9 MB, free: 4.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.645e-05/0.01072, allocations: 155.1 kB / 345 MB, free: 4.75 MB / 266.7 MB Notification: Performance of Backend: time 2.5e-07/0.01072, allocations: 0 / 345 MB, free: 4.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003546/0.01107, allocations: 340.4 kB / 345.4 MB, free: 4.395 MB / 266.7 MB Notification: Performance of SimCode: time 0.0007055/0.01178, allocations: 1.214 MB / 346.6 MB, free: 3.125 MB / 266.7 MB Notification: Performance of Templates: time 0.003512/0.01529, allocations: 2.346 MB / 348.9 MB, free: 0.8086 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f BikeTrailer_BikeTrailer.Examples.ChargeBattery.makefile [Timeout 660] (rm -f BikeTrailer_BikeTrailer.Examples.ChargeBattery.pipe ; mkfifo BikeTrailer_BikeTrailer.Examples.ChargeBattery.pipe ; head -c 1048576 < BikeTrailer_BikeTrailer.Examples.ChargeBattery.pipe >> ../files/BikeTrailer_BikeTrailer.Examples.ChargeBattery.sim & ./BikeTrailer_BikeTrailer.Examples.ChargeBattery -abortSlowSimulation -alarm=240 -lv LOG_STATS > BikeTrailer_BikeTrailer.Examples.ChargeBattery.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6155711957253516]