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.001029/0.001029, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001118/0.001118, allocations: 173 kB / 23.36 MB, free: 1.129 MB / 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 1.034/1.034, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.009908/0.009908, allocations: 1.327 MB / 261.6 MB, free: 11.63 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.453e-06/1.453e-06, allocations: 0 / 278.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.456e-05, allocations: 2.312 kB / 278.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.ChargeBattery): time 0.007086/0.00711, allocations: 2.676 MB / 281.2 MB, free: 8.016 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00416/0.01127, allocations: 0.6541 MB / 281.8 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.01143, allocations: 7.938 kB / 281.8 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.0116, allocations: 51.56 kB / 281.9 MB, free: 7.297 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.01175, allocations: 63.36 kB / 281.9 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.01196, allocations: 99.88 kB / 282 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.01228, allocations: 326.7 kB / 282.4 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.01249, allocations: 114.2 kB / 282.5 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.0127, allocations: 183.7 kB / 282.7 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.01289, allocations: 115.7 kB / 282.8 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.01293, allocations: 32 kB / 282.8 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.973e-05/0.01297, allocations: 36 kB / 282.8 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.01303, allocations: 71.73 kB / 282.9 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.855e-05/0.01312, allocations: 103.8 kB / 283 MB, free: 6.172 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.01339, allocations: 235.1 kB / 283.2 MB, free: 5.941 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.0134, allocations: 4 kB / 283.2 MB, free: 5.938 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.0134, allocations: 0 / 283.2 MB, free: 5.938 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.0134, allocations: 0 / 283.2 MB, free: 5.938 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.003832/0.01723, allocations: 492.1 kB / 283.7 MB, free: 5.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.01727, allocations: 8.031 kB / 283.7 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.01734, allocations: 40.91 kB / 283.8 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.01758, allocations: 187.3 kB / 283.9 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.01765, allocations: 72.62 kB / 284 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.01769, allocations: 32.38 kB / 284.1 MB, free: 5.066 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.018, allocations: 321.9 kB / 284.4 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.01801, allocations: 4.172 kB / 284.4 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.01804, allocations: 20.12 kB / 284.4 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.01804, allocations: 4 kB / 284.4 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.01816, allocations: 68.5 kB / 284.5 MB, free: 4.613 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.01922, allocations: 1.006 MB / 285.5 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.01944, allocations: 90.41 kB / 285.6 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.01948, allocations: 28.84 kB / 285.6 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.01949, allocations: 0 / 285.6 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.01951, allocations: 34.56 kB / 285.6 MB, free: 3.375 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.01952, allocations: 0 / 285.6 MB, free: 3.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004094/0.01993, allocations: 154.5 kB / 285.8 MB, free: 3.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.01995, allocations: 55.41 kB / 285.8 MB, free: 3.148 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/0.0231, allocations: 187.9 kB / 286 MB, free: 2.953 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.02311, allocations: 29.7 kB / 286 MB, free: 2.918 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.0232, allocations: 180 kB / 286.2 MB, free: 2.738 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.02322, allocations: 39.67 kB / 286.2 MB, free: 2.699 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.02328, allocations: 45.64 kB / 286.3 MB, free: 2.648 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.02337, allocations: 326.8 kB / 286.6 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.265e-05/0.0234, allocations: 15.94 kB / 286.6 MB, free: 2.305 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.02347, allocations: 87.88 kB / 286.7 MB, free: 2.191 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.02359, allocations: 116.4 kB / 286.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.0236, allocations: 0 / 286.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002749/0.02387, allocations: 166.1 kB / 287 MB, free: 1.875 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.02388, allocations: 8 kB / 287 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.02389, allocations: 0 / 287 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.02403, allocations: 36.81 kB / 287 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.02411, allocations: 36.2 kB / 287.1 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000905/0.02502, allocations: 1.367 MB / 288.4 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/0.0251, allocations: 23.84 kB / 288.5 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.02511, allocations: 8 kB / 288.5 MB, free: 316 kB / 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 9.176e-05/0.02521, allocations: 129.7 kB / 288.6 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.02524, allocations: 16.05 kB / 288.6 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.02526, allocations: 21.45 kB / 288.6 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.02526, allocations: 4 kB / 288.6 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.02527, allocations: 0 / 288.6 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.02527, allocations: 0 / 288.6 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1099/0.1352, allocations: 123.4 kB / 288.8 MB, free: 24.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1352, allocations: 2.156 kB / 288.8 MB, free: 24.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.1353, allocations: 13.28 kB / 288.8 MB, free: 24.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.1354, allocations: 29.28 kB / 288.8 MB, free: 24.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1355, allocations: 3.781 kB / 288.8 MB, free: 24.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006493/0.1361, allocations: 1.364 MB / 290.2 MB, free: 23.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1361, allocations: 0 / 290.2 MB, free: 23.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.1363, allocations: 231.9 kB / 290.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.1363, allocations: 11.06 kB / 290.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1364, allocations: 3.719 kB / 290.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.346e-05/0.1364, allocations: 10.25 kB / 290.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.1365, allocations: 13.03 kB / 290.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1365, allocations: 7.484 kB / 290.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.323e-05/0.1365, allocations: 49.12 kB / 290.5 MB, free: 22.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1365, allocations: 0 / 290.5 MB, free: 22.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002675/0.1368, allocations: 67.17 kB / 290.6 MB, free: 22.88 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (battery.soc.y,energy.y) * Number of discrete variables: 1 (cccvCharger.CV) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 8.532e-05/0.1369, allocations: 82.2 kB / 290.6 MB, free: 22.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.1371, allocations: 202.7 kB / 290.8 MB, free: 22.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.1371, allocations: 2.719 kB / 290.8 MB, free: 22.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1372, allocations: 163 kB / 291 MB, free: 22.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.1374, allocations: 27.48 kB / 291 MB, free: 22.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007735/0.1382, allocations: 475.8 kB / 291.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.201e-05/0.1382, allocations: 81.34 kB / 291.6 MB, free: 22.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.727e-05/0.1383, allocations: 15.58 kB / 291.6 MB, free: 22.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.1383, allocations: 75.06 kB / 291.6 MB, free: 22.2 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1383, allocations: 0 / 291.6 MB, free: 22.2 MB / 266.7 MB Notification: Performance of Templates: time 0.004638/0.143, allocations: 2.168 MB / 293.8 MB, free: 22.05 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BikeTrailer_BikeTrailer.Examples.ChargeBattery.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.977209194097668]