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.001208/0.001208, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001369/0.001369, allocations: 169.7 kB / 23.28 MB, free: 1.219 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 0.9957/0.9957, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.07087/0.07087, allocations: 12.75 MB / 273 MB, free: 128 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 1.563e-06/1.563e-06, allocations: 3.938 kB / 347.2 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.194e-05, allocations: 8.359 kB / 347.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.002649/0.002671, allocations: 2.417 MB / 349.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 8.869e-05/0.002759, allocations: 55.64 kB / 349.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.259e-05/0.002832, allocations: 4 kB / 349.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.003004, allocations: 47.64 kB / 349.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.003067, allocations: 35.66 kB / 349.8 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.785e-05/0.003094, allocations: 4 kB / 349.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.004847, allocations: 2.133 MB / 351.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005152/0.005363, allocations: 403.5 kB / 352.3 MB, free: 11.76 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005078/0.00587, allocations: 0.9714 MB / 353.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.006179, allocations: 0.5035 MB / 353.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.485e-05/0.006264, allocations: 4 kB / 353.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.945e-05/0.006353, allocations: 0 / 353.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.006528, allocations: 355.7 kB / 354.1 MB, free: 9.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.006788, allocations: 0.5035 MB / 354.6 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.008635, allocations: 3.72 MB / 358.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.008637, allocations: 0 / 358.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.008638, allocations: 4 kB / 358.4 MB, free: 5.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.974e-05/0.008698, allocations: 0 / 358.4 MB, free: 5.672 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.004742/0.01344, allocations: 7.136 MB / 365.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.01348, allocations: 15.97 kB / 365.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.01395, allocations: 0.7264 MB / 366.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.01576, allocations: 2.426 MB / 368.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.01578, allocations: 8.375 kB / 368.7 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.01578, allocations: 384 / 368.7 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.659e-05/0.01587, allocations: 84.98 kB / 368.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.01588, allocations: 4.125 kB / 368.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.01588, allocations: 384 / 368.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.01589, allocations: 7.938 kB / 368.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.471e-05/0.0159, allocations: 11.92 kB / 368.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.01826, allocations: 2.534 MB / 371.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.054e-05/0.01834, allocations: 273.3 kB / 371.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.01837, allocations: 126.9 kB / 371.7 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.0184, allocations: 123.2 kB / 371.8 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.01844, allocations: 156.6 kB / 372 MB, free: 7.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.01844, allocations: 0 / 372 MB, free: 7.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004851/0.01893, allocations: 0.7506 MB / 372.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.01897, allocations: 174.6 kB / 372.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005709/0.02468, allocations: 7.352 MB / 380.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.02469, allocations: 25.7 kB / 380.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002271/0.02696, allocations: 3.795 MB / 384.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/0.02696, allocations: 0 / 384.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.027, allocations: 27.36 kB / 384.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.0271, allocations: 484.4 kB / 384.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.02711, allocations: 0 / 384.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/0.02714, allocations: 46.73 kB / 384.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.02718, allocations: 46.67 kB / 384.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02718, allocations: 3.938 kB / 384.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0007597/0.02794, allocations: 0.7701 MB / 385.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.02796, allocations: 4 kB / 385.5 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.02797, allocations: 8.109 kB / 385.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.02798, allocations: 4 kB / 385.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.104e-05/0.02803, allocations: 4 kB / 385.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.02803, allocations: 7.938 kB / 385.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.02838, allocations: 3.953 kB / 385.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.02839, allocations: 4 kB / 385.5 MB, free: 10.28 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.0004484/0.02884, allocations: 279.7 kB / 385.8 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/0.02921, allocations: 0.8631 MB / 386.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.02968, allocations: 0.7285 MB / 387.3 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.014e-05/0.02973, allocations: 268.1 kB / 387.6 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.827e-05/0.02977, allocations: 268.1 kB / 387.9 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.965e-05/0.02982, allocations: 268.1 kB / 388.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.03149, allocations: 2.368 MB / 390.5 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.545e-05/0.03153, allocations: 148.8 kB / 390.6 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.03156, allocations: 144.9 kB / 390.8 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.958e-05/0.03162, allocations: 276 kB / 391.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.03167, allocations: 264.1 kB / 391.3 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.653e-05/0.03173, allocations: 272.1 kB / 391.6 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.331e-05/0.03178, allocations: 272 kB / 391.8 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007352/0.03252, allocations: 1.224 MB / 393.1 MB, free: 2.527 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.03291, allocations: 0.7185 MB / 393.8 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.03308, allocations: 276.1 kB / 394.1 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.03333, allocations: 148.8 kB / 394.2 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.03339, allocations: 268.1 kB / 394.5 MB, free: 1.098 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.03342, allocations: 152.8 kB / 394.6 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002585/0.036, allocations: 3.614 MB / 398.2 MB, free: 13.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.036, allocations: 0 / 398.2 MB, free: 13.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000342/0.03634, allocations: 195.9 kB / 398.4 MB, free: 13.18 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.0001119/0.03646, allocations: 210.4 kB / 398.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.077e-05/0.03653, allocations: 27.81 kB / 398.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.03653, allocations: 0 / 398.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.03653, allocations: 0 / 398.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/0.03959, allocations: 1.952 MB / 400.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.04987, allocations: 8.58 MB / 409.2 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.05093, allocations: 1.3 MB / 410.5 MB, free: 1.105 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004947/0.05142, allocations: 68.84 kB / 410.6 MB, free: 1.035 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008593/0.05228, allocations: 489.7 kB / 411 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of SimCode: time 1.463e-06/0.05228, allocations: 0 / 411 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of Templates: time 0.1732/0.2254, allocations: 27.02 MB / 438.1 MB, free: 49.75 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.2814061627723277]