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.0008447/0.0008447, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 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.001057/0.001057, allocations: 216.7 kB / 22.25 MB, free: 3.574 MB / 13.93 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.067/1.067, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.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.06888/0.06888, allocations: 17.16 MB / 329.6 MB, free: 0.7266 MB / 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: "" <> buildModelFMU(Bodylight.Types.Examples.IO_Bus.Variables,fileNamePrefix="Bodylight_Bodylight_Types_Examples_IO_Bus_Variables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Types.Examples.IO_Bus.Variables,fileNamePrefix="Bodylight_Bodylight_Types_Examples_IO_Bus_Variables",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Bodylight requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 71.83 kB / 460.2 MB, free: 26.84 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09917/0.1002, allocations: 57.77 MB / 0.5059 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.002992/0.1032, allocations: 2.357 MB / 0.5082 GB, free: 14.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 7.235e-05/0.1032, allocations: 51.64 kB / 0.5082 GB, free: 14.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.1033, allocations: 0 / 0.5082 GB, free: 14.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.1035, allocations: 55.88 kB / 0.5083 GB, free: 14.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.654e-05/0.1036, allocations: 31.72 kB / 0.5083 GB, free: 14.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.865e-05/0.1036, allocations: 7.938 kB / 0.5083 GB, free: 14.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.1056, allocations: 2.085 MB / 0.5103 GB, free: 12.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005573/0.1062, allocations: 467.5 kB / 0.5108 GB, free: 11.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.1065, allocations: 0.8548 MB / 0.5116 GB, free: 11.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005468/0.1071, allocations: 1.038 MB / 0.5126 GB, free: 9.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.979e-05/0.1072, allocations: 0 / 0.5126 GB, free: 9.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1073, allocations: 4 kB / 0.5126 GB, free: 9.977 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.1075, allocations: 351.7 kB / 0.513 GB, free: 9.629 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.1079, allocations: 1.042 MB / 0.514 GB, free: 8.574 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.1115, allocations: 6.008 MB / 0.5199 GB, free: 2.535 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1115, allocations: 4 kB / 0.5199 GB, free: 2.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1115, allocations: 0 / 0.5199 GB, free: 2.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.997e-05/0.1115, allocations: 0 / 0.5199 GB, free: 2.531 MB / 378.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.005005/0.1165, allocations: 6.486 MB / 0.5262 GB, free: 11.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.1166, allocations: 8.031 kB / 0.5262 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.1166, allocations: 34.75 kB / 0.5262 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005173/0.1171, allocations: 0.7303 MB / 0.5269 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.1189, allocations: 2.416 MB / 0.5293 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1189, allocations: 8.375 kB / 0.5293 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.1189, allocations: 4.375 kB / 0.5293 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1191, allocations: 85.22 kB / 0.5294 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1191, allocations: 0 / 0.5294 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1191, allocations: 3.938 kB / 0.5294 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.1191, allocations: 0 / 0.5294 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.1191, allocations: 15.94 kB / 0.5294 GB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.1217, allocations: 2.666 MB / 0.532 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.423e-05/0.1217, allocations: 169.1 kB / 0.5322 GB, free: 5.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.1218, allocations: 84.08 kB / 0.5323 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.1218, allocations: 75.28 kB / 0.5323 GB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.1218, allocations: 113.8 kB / 0.5324 GB, free: 5.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.1218, allocations: 0 / 0.5324 GB, free: 5.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004235/0.1222, allocations: 0.7506 MB / 0.5332 GB, free: 4.652 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.1223, allocations: 130.7 kB / 0.5333 GB, free: 4.512 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007275/0.1296, allocations: 8.017 MB / 0.5411 GB, free: 12.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.1296, allocations: 25.7 kB / 0.5412 GB, free: 12.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001954/0.1315, allocations: 3.095 MB / 0.5442 GB, free: 9.426 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-06/0.1315, allocations: 0 / 0.5442 GB, free: 9.426 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.1316, allocations: 17.7 kB / 0.5442 GB, free: 9.402 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.1317, allocations: 310 kB / 0.5445 GB, free: 9.094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.1317, allocations: 4 kB / 0.5445 GB, free: 9.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.1317, allocations: 31.38 kB / 0.5445 GB, free: 9.047 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.497e-05/0.1317, allocations: 39.39 kB / 0.5446 GB, free: 8.996 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1317, allocations: 3.938 kB / 0.5446 GB, free: 8.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0009528/0.1327, allocations: 0.774 MB / 0.5453 GB, free: 8.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1327, allocations: 6.969 kB / 0.5453 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1327, allocations: 8.109 kB / 0.5453 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1327, allocations: 4 kB / 0.5453 GB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.1328, allocations: 4 kB / 0.5453 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1328, allocations: 7.938 kB / 0.5454 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.1332, allocations: 4.094 kB / 0.5454 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1332, allocations: 4 kB / 0.5454 GB, free: 8.172 MB / 410.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.001772/0.1349, allocations: 2.081 MB / 0.5474 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004185/0.1354, allocations: 0.8358 MB / 0.5482 GB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000597/0.136, allocations: 0.8264 MB / 0.549 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.682e-05/0.136, allocations: 180.2 kB / 0.5492 GB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-05/0.136, allocations: 184.2 kB / 0.5494 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.362e-05/0.1361, allocations: 184.2 kB / 0.5495 GB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.1382, allocations: 2.543 MB / 0.552 GB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/0.1382, allocations: 108.9 kB / 0.5521 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/0.1382, allocations: 104.9 kB / 0.5522 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.605e-05/0.1383, allocations: 180.3 kB / 0.5524 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/0.1383, allocations: 184.2 kB / 0.5526 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-05/0.1384, allocations: 176.3 kB / 0.5527 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.507e-05/0.1384, allocations: 184.2 kB / 0.5529 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2055/0.344, allocations: 1.058 MB / 0.5539 GB, free: 43.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/0.3445, allocations: 0.6787 MB / 0.5546 GB, free: 42.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/0.3449, allocations: 183.8 kB / 0.5548 GB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.3451, allocations: 103.6 kB / 0.5549 GB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.3452, allocations: 188.4 kB / 0.5551 GB, free: 42.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.3452, allocations: 103 kB / 0.5552 GB, free: 42.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.008533/0.3537, allocations: 5.7 MB / 0.5607 GB, free: 40.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3537, allocations: 0 / 0.5607 GB, free: 40.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006997/0.3544, allocations: 192.6 kB / 0.5609 GB, free: 40.74 MB / 410.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.0006878/0.3551, allocations: 1.603 MB / 0.5625 GB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.3552, allocations: 16.19 kB / 0.5625 GB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3552, allocations: 0 / 0.5625 GB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.716e-06/0.3552, allocations: 1.219 kB / 0.5625 GB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/0.3588, allocations: 1.691 MB / 0.5641 GB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03914/0.3979, allocations: 34.14 MB / 0.5975 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/0.4, allocations: 3.472 MB / 0.6009 GB, free: 7.969 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007921/0.4008, allocations: 92.89 kB / 0.601 GB, free: 7.875 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.4019, allocations: 2.022 MB / 0.6029 GB, free: 5.852 MB / 410.7 MB Notification: Performance of SimCode: time 1.893e-06/0.4019, allocations: 0 / 0.6029 GB, free: 5.852 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1744/0.5764, allocations: 89.95 MB / 0.6908 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.14, allocations: 15.5 kB / 0.6908 GB, free: 12.3 MB / 0.4948 GB " [Timeout remaining time 647] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Types_Examples_IO_Bus_Variables_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Bodylight_Bodylight_Types_Examples_IO_Bus_Variables.fmu) > Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_fmpy.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Bodylight_Bodylight_Types_Examples_IO_Bus_Variables.fmu) > Bodylight_Bodylight.Types.Examples.IO_Bus.Variables_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.762403743341565]