Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.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.00127/0.00127, allocations: 80.88 kB / 20.8 MB, free: 3.66 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.001407/0.001407, allocations: 165.4 kB / 24.22 MB, free: 248 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 1.021/1.021, allocations: 177.2 MB / 204.7 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.0638/0.0638, allocations: 12.76 MB / 273.9 MB, free: 120 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.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(Bodylight.Types.Examples.IO_Bus.Variables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Types.Examples.IO_Bus.Variables") translateModel(Bodylight.Types.Examples.IO_Bus.Variables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Types.Examples.IO_Bus.Variables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.107e-06/4.107e-06, allocations: 1.125 kB / 295 MB, free: 11.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.581e-05, allocations: 3.562 kB / 295 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.005044/0.00508, allocations: 2.467 MB / 297.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001911/0.005271, allocations: 59.25 kB / 297.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.005388, allocations: 6.719 kB / 297.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.005667, allocations: 52.08 kB / 297.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.976e-05/0.005767, allocations: 30.59 kB / 297.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.067e-05/0.005807, allocations: 11.12 kB / 297.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002758/0.008566, allocations: 2.16 MB / 299.8 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007754/0.009341, allocations: 466.7 kB / 300.2 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007488/0.01009, allocations: 0.9698 MB / 301.2 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004352/0.01052, allocations: 0.4999 MB / 301.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.01069, allocations: 2.656 kB / 301.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.01078, allocations: 5.281 kB / 301.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.01103, allocations: 363.8 kB / 302 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004491/0.01148, allocations: 0.5007 MB / 302.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002377/0.01385, allocations: 3.72 MB / 306.3 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01386, allocations: 0 / 306.3 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.01386, allocations: 0 / 306.3 MB, free: 5.582 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001815/0.01404, allocations: 0 / 306.3 MB, free: 5.582 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00499/0.01903, allocations: 6.39 MB / 312.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.01907, allocations: 15.98 kB / 312.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/0.01944, allocations: 360.4 kB / 313 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003687/0.02312, allocations: 2.462 MB / 315.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.02314, allocations: 4.375 kB / 315.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.02315, allocations: 384 / 315.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.02327, allocations: 65.69 kB / 315.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.02328, allocations: 4.125 kB / 315.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.02329, allocations: 384 / 315.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.0233, allocations: 7.938 kB / 315.6 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.02332, allocations: 15.92 kB / 315.6 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/0.02416, allocations: 0.5729 MB / 316.2 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.02423, allocations: 173 kB / 316.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.02426, allocations: 88.08 kB / 316.4 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.02428, allocations: 79.28 kB / 316.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.02431, allocations: 109.9 kB / 316.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.02431, allocations: 0 / 316.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003281/0.02464, allocations: 381.2 kB / 317 MB, free: 10.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.0247, allocations: 126.7 kB / 317.1 MB, free: 10.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005605/0.0303, allocations: 5.418 MB / 322.5 MB, free: 5.191 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.03031, allocations: 29.64 kB / 322.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009646/0.03127, allocations: 1.155 MB / 323.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/0.03128, allocations: 4 kB / 323.7 MB, free: 3.992 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.03131, allocations: 17.72 kB / 323.7 MB, free: 3.969 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.03138, allocations: 306 kB / 324 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.03139, allocations: 0 / 324 MB, free: 3.664 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.03141, allocations: 35.42 kB / 324 MB, free: 3.617 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.694e-05/0.03145, allocations: 31.36 kB / 324.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.03145, allocations: 0 / 324.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000393/0.03184, allocations: 405.2 kB / 324.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.03186, allocations: 4 kB / 324.5 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.03186, allocations: 4.625 kB / 324.5 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.03187, allocations: 0 / 324.5 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.922e-05/0.03192, allocations: 15.92 kB / 324.5 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.03193, allocations: 0 / 324.5 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.03224, allocations: 0 / 324.5 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.03224, allocations: 4.094 kB / 324.5 MB, free: 3.145 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0005109/0.03276, allocations: 185.1 kB / 324.7 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00043/0.03319, allocations: 464.5 kB / 325.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005154/0.0337, allocations: 0.6818 MB / 325.8 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.879e-05/0.03374, allocations: 176.3 kB / 326 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-05/0.03378, allocations: 184.2 kB / 326.2 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.993e-05/0.03382, allocations: 180.2 kB / 326.3 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.03508, allocations: 1.571 MB / 327.9 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.961e-05/0.03511, allocations: 104.9 kB / 328 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.03514, allocations: 105 kB / 328.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-05/0.03518, allocations: 184.1 kB / 328.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/0.03523, allocations: 176.3 kB / 328.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-05/0.03528, allocations: 188.4 kB / 328.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002553/0.03553, allocations: 184.1 kB / 328.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.03588, allocations: 0.6966 MB / 329.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/0.03625, allocations: 0.6718 MB / 330.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.03642, allocations: 184.2 kB / 330.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.03666, allocations: 104.9 kB / 330.5 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.03671, allocations: 180.2 kB / 330.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.03673, allocations: 108.9 kB / 330.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002532/0.03927, allocations: 2.978 MB / 333.7 MB, free: 9.762 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.03927, allocations: 0 / 333.7 MB, free: 9.762 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003805/0.03965, allocations: 192 kB / 333.9 MB, free: 9.574 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * 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 0.000123/0.03977, allocations: 155.6 kB / 334.1 MB, free: 9.414 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.373e-05/0.03985, allocations: 20.8 kB / 334.1 MB, free: 9.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.002e-05/0.0399, allocations: 76 kB / 334.2 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.0399, allocations: 0 / 334.2 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/0.04262, allocations: 1.697 MB / 335.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.05434, allocations: 8.284 MB / 344.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008368/0.05518, allocations: 1.054 MB / 345.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004815/0.05566, allocations: 68.84 kB / 345.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007462/0.05641, allocations: 390.8 kB / 345.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of SimCode: time 2.845e-06/0.05641, allocations: 0 / 345.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of Templates: time 0.03807/0.09448, allocations: 27.62 MB / 373.3 MB, free: 2.816 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe >> ../files/Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.sim & ./Bodylight_Bodylight.Types.Examples.IO_Bus.Variables -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.036634786054492]