Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Types.Examples.Units.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.0008117/0.0008117, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008785/0.0008785, allocations: 212.7 kB / 22.25 MB, free: 3.57 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.026/1.026, allocations: 230.6 MB / 256 MB, free: 9.609 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.07952/0.07952, allocations: 17.18 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.Units,fileNamePrefix="Bodylight_Bodylight_Types_Examples_Units",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Types.Examples.Units,fileNamePrefix="Bodylight_Bodylight_Types_Examples_Units",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.001143/0.001143, allocations: 71.89 kB / 460.2 MB, free: 26.86 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08646/0.0876, allocations: 57.77 MB / 0.5059 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.002451/0.09006, allocations: 1.763 MB / 0.5076 GB, free: 15.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 9.607e-05/0.09015, allocations: 63.75 kB / 0.5076 GB, free: 15.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.09019, allocations: 4 kB / 0.5076 GB, free: 15.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.09021, allocations: 11.86 kB / 0.5076 GB, free: 15.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.09031, allocations: 55.48 kB / 0.5077 GB, free: 15.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.292e-06/0.09032, allocations: 0 / 0.5077 GB, free: 15.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.167e-05/0.09041, allocations: 91.17 kB / 0.5078 GB, free: 14.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.8e-05/0.09047, allocations: 4 kB / 0.5078 GB, free: 14.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.735e-05/0.0905, allocations: 23.94 kB / 0.5078 GB, free: 14.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.839e-05/0.09058, allocations: 35.81 kB / 0.5079 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.09058, allocations: 0 / 0.5079 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.09059, allocations: 0 / 0.5079 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.09061, allocations: 7.922 kB / 0.5079 GB, free: 14.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.09064, allocations: 35.81 kB / 0.5079 GB, free: 14.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.09074, allocations: 67.88 kB / 0.508 GB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.09075, allocations: 0 / 0.508 GB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.278e-06/0.09075, allocations: 0 / 0.508 GB, free: 14.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.09076, allocations: 0 / 0.508 GB, free: 14.82 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000325/0.09109, allocations: 313.8 kB / 0.5083 GB, free: 14.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.09114, allocations: 15.97 kB / 0.5083 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.212e-05/0.09119, allocations: 106 kB / 0.5084 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.09125, allocations: 88.17 kB / 0.5085 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.09138, allocations: 218.1 kB / 0.5087 GB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.09144, allocations: 154.9 kB / 0.5088 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.09149, allocations: 150.9 kB / 0.509 GB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.29e-05/0.09156, allocations: 101.5 kB / 0.5091 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.09159, allocations: 83.22 kB / 0.5091 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.09164, allocations: 154.5 kB / 0.5093 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.09169, allocations: 150.6 kB / 0.5094 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.832e-05/0.09175, allocations: 158.5 kB / 0.5096 GB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.09202, allocations: 441 kB / 0.51 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.068e-05/0.09211, allocations: 169.1 kB / 0.5102 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.09214, allocations: 80.14 kB / 0.5102 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.09217, allocations: 75.28 kB / 0.5103 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.09222, allocations: 113.8 kB / 0.5104 GB, free: 12.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.09222, allocations: 0 / 0.5104 GB, free: 12.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.184e-05/0.0923, allocations: 41.59 kB / 0.5105 GB, free: 12.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.09236, allocations: 126.7 kB / 0.5106 GB, free: 11.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.09254, allocations: 162.8 kB / 0.5107 GB, free: 11.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.09255, allocations: 25.7 kB / 0.5108 GB, free: 11.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.09261, allocations: 112.1 kB / 0.5109 GB, free: 11.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.09261, allocations: 0 / 0.5109 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.09263, allocations: 13.72 kB / 0.5109 GB, free: 11.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.09274, allocations: 322.8 kB / 0.5112 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-06/0.09275, allocations: 0 / 0.5112 GB, free: 11.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.09275, allocations: 0 / 0.5112 GB, free: 11.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.695e-05/0.09278, allocations: 79.22 kB / 0.5113 GB, free: 11.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.397e-05/0.0928, allocations: 79.22 kB / 0.5113 GB, free: 11.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.271e-05/0.09286, allocations: 42.77 kB / 0.5114 GB, free: 11.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/0.0929, allocations: 83.22 kB / 0.5115 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.09293, allocations: 87.22 kB / 0.5115 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.208e-05/0.09299, allocations: 154.5 kB / 0.5117 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.211e-05/0.09301, allocations: 75.28 kB / 0.5118 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.271e-05/0.09307, allocations: 162.5 kB / 0.5119 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.09313, allocations: 83.31 kB / 0.512 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.09315, allocations: 75.28 kB / 0.5121 GB, free: 10.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001051/0.09326, allocations: 264.4 kB / 0.5123 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.09331, allocations: 116.8 kB / 0.5124 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.09335, allocations: 113.5 kB / 0.5125 GB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-05/0.09339, allocations: 188.4 kB / 0.5127 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.833e-05/0.09344, allocations: 180.3 kB / 0.5129 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.66e-05/0.09349, allocations: 184.3 kB / 0.5131 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.09368, allocations: 396.2 kB / 0.5134 GB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.134e-05/0.09371, allocations: 105 kB / 0.5135 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.09375, allocations: 108.9 kB / 0.5136 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.327e-05/0.0938, allocations: 184.2 kB / 0.5138 GB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.09385, allocations: 180.3 kB / 0.514 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-05/0.0939, allocations: 180.2 kB / 0.5142 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-05/0.09395, allocations: 176.3 kB / 0.5143 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.09409, allocations: 323.7 kB / 0.5146 GB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.09414, allocations: 112.9 kB / 0.5147 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/0.09421, allocations: 188.1 kB / 0.5149 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.09427, allocations: 101 kB / 0.515 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.09434, allocations: 188.2 kB / 0.5152 GB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.09437, allocations: 105 kB / 0.5153 GB, free: 6.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.673e-05/0.09446, allocations: 120.3 kB / 0.5154 GB, free: 6.762 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09446, allocations: 0 / 0.5154 GB, free: 6.762 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001914/0.09465, allocations: 12 kB / 0.5154 GB, free: 6.75 MB / 378.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.0004325/0.09509, allocations: 0.8171 MB / 0.5162 GB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.497e-05/0.09515, allocations: 0 / 0.5162 GB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.09515, allocations: 4 kB / 0.5162 GB, free: 5.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.09516, allocations: 0 / 0.5162 GB, free: 5.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.09566, allocations: 479.5 kB / 0.5167 GB, free: 5.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007054/0.09636, allocations: 422.8 kB / 0.5171 GB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.492e-05/0.09643, allocations: 81.31 kB / 0.5172 GB, free: 4.867 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.887e-05/0.09646, allocations: 7.984 kB / 0.5172 GB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.09651, allocations: 23.38 kB / 0.5172 GB, free: 4.836 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.09651, allocations: 0 / 0.5172 GB, free: 4.836 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08029/0.1768, allocations: 3.005 MB / 0.5201 GB, free: 1.961 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.262, allocations: 4 kB / 0.5201 GB, free: 1.957 MB / 378.7 MB " [Timeout remaining time 653] (rm -f Bodylight_Bodylight.Types.Examples.Units.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.Units.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.Units.pipe >> ../files/Bodylight_Bodylight.Types.Examples.Units.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Types_Examples_Units_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Bodylight_Bodylight_Types_Examples_Units.fmu) > Bodylight_Bodylight.Types.Examples.Units.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Types.Examples.Units_fmpy.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.Units_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.Units_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Types.Examples.Units_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Types.Examples.Units_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_Units.fmu) > Bodylight_Bodylight.Types.Examples.Units_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.676909323781729]