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.001398/0.001398, allocations: 93.06 kB / 19.65 MB, free: 276 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.001544/0.001544, allocations: 169 kB / 23.02 MB, free: 1.547 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.046/1.046, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.06461/0.06461, allocations: 12.75 MB / 272.7 MB, free: 276 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 3.046e-06/3.046e-06, allocations: 0 / 346.8 MB, free: 1.176 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.158e-05, allocations: 2.312 kB / 346.8 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.006552/0.006583, allocations: 2.451 MB / 349.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001058/0.006689, allocations: 59.62 kB / 349.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.013e-05/0.006779, allocations: 3.938 kB / 349.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.007004, allocations: 51.61 kB / 349.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.667e-05/0.007081, allocations: 27.72 kB / 349.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.67e-05/0.007117, allocations: 4 kB / 349.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005343/0.01246, allocations: 2.131 MB / 351.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006486/0.01311, allocations: 411.5 kB / 351.9 MB, free: 12.01 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003683/0.01679, allocations: 0.9675 MB / 352.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004233/0.01722, allocations: 0.4997 MB / 353.4 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.01734, allocations: 7.938 kB / 353.4 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.01747, allocations: 0 / 353.4 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.01772, allocations: 355.7 kB / 353.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004011/0.01812, allocations: 0.5036 MB / 354.2 MB, free: 9.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005764/0.02388, allocations: 3.716 MB / 357.9 MB, free: 5.934 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.02389, allocations: 0 / 357.9 MB, free: 5.934 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.02389, allocations: 4 kB / 357.9 MB, free: 5.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.367e-05/0.02395, allocations: 0 / 357.9 MB, free: 5.93 MB / 282.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.009049/0.033, allocations: 7.067 MB / 365 MB, free: 14.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.03304, allocations: 11.98 kB / 365 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00054/0.03358, allocations: 0.7264 MB / 365.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.03541, allocations: 2.422 MB / 368.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.03542, allocations: 4.375 kB / 368.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.03543, allocations: 4.312 kB / 368.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.03555, allocations: 81 kB / 368.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.03556, allocations: 4.188 kB / 368.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.03557, allocations: 384 / 368.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.03558, allocations: 7.938 kB / 368.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.0356, allocations: 15.92 kB / 368.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003149/0.03875, allocations: 3.993 MB / 372.3 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/0.03884, allocations: 265.4 kB / 372.5 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.487e-05/0.03887, allocations: 126.9 kB / 372.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.0389, allocations: 119.2 kB / 372.8 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.03895, allocations: 160.5 kB / 372.9 MB, free: 6.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.834e-06/0.03895, allocations: 0 / 372.9 MB, free: 6.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 0.0005242/0.03947, allocations: 0.7584 MB / 373.7 MB, free: 5.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.03954, allocations: 174.6 kB / 373.9 MB, free: 5.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007452/0.04699, allocations: 7.423 MB / 381.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.047, allocations: 25.7 kB / 381.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003245/0.05025, allocations: 3.703 MB / 385 MB, free: 10.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.276e-06/0.05025, allocations: 0 / 385 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.0503, allocations: 19.38 kB / 385 MB, free: 10.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.05043, allocations: 492.4 kB / 385.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.05045, allocations: 0 / 385.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/0.05049, allocations: 42.73 kB / 385.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.97e-05/0.05054, allocations: 46.69 kB / 385.6 MB, free: 10.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.05055, allocations: 0 / 385.6 MB, free: 10.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0008017/0.05135, allocations: 0.7778 MB / 386.4 MB, free: 9.219 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.05137, allocations: 8 kB / 386.4 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.05138, allocations: 0 / 386.4 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.0514, allocations: 0 / 386.4 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.05147, allocations: 12.12 kB / 386.4 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.05147, allocations: 0 / 386.4 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/0.05191, allocations: 3.953 kB / 386.4 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.05192, allocations: 4 kB / 386.4 MB, free: 9.191 MB / 314.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.003572/0.05549, allocations: 291.6 kB / 386.7 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005268/0.05602, allocations: 0.8631 MB / 387.6 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005809/0.0566, allocations: 0.7169 MB / 388.3 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.053e-05/0.05666, allocations: 272 kB / 388.5 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-05/0.05672, allocations: 264.1 kB / 388.8 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.99e-05/0.05678, allocations: 276.1 kB / 389.1 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006494/0.06327, allocations: 3.667 MB / 392.7 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.944e-05/0.06331, allocations: 144.9 kB / 392.9 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.06335, allocations: 152.9 kB / 393 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.132e-05/0.06342, allocations: 268.1 kB / 393.3 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-05/0.0635, allocations: 276 kB / 393.6 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-05/0.06357, allocations: 276 kB / 393.8 MB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.349e-05/0.06364, allocations: 264.1 kB / 394.1 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003776/0.06741, allocations: 1.224 MB / 395.3 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006291/0.06804, allocations: 0.7226 MB / 396 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/0.06834, allocations: 268.1 kB / 396.3 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.06873, allocations: 144.9 kB / 396.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.0688, allocations: 276 kB / 396.7 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.06884, allocations: 144.9 kB / 396.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.01073/0.07956, allocations: 3.846 MB / 400.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.07957, allocations: 0 / 400.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006207/0.08019, allocations: 192 kB / 400.9 MB, free: 10.55 MB / 330.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.0001239/0.08031, allocations: 214.4 kB / 401.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.747e-05/0.08041, allocations: 15.62 kB / 401.1 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.08041, allocations: 4 kB / 401.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.08041, allocations: 256 / 401.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007109/0.08752, allocations: 1.956 MB / 403.1 MB, free: 8.492 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1475/0.235, allocations: 8.574 MB / 411.6 MB, free: 66.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002093/0.2371, allocations: 1.303 MB / 412.9 MB, free: 66.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005261/0.2376, allocations: 68.3 kB / 413 MB, free: 66.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.2377, allocations: 23.62 kB / 413 MB, free: 66.3 MB / 330.7 MB Notification: Performance of SimCode: time 2.494e-06/0.2377, allocations: 1.188 kB / 413 MB, free: 66.3 MB / 330.7 MB Notification: Performance of Templates: time 0.0441/0.2818, allocations: 26.98 MB / 440 MB, free: 47.14 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.5386393000371754]