Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.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.0008122/0.0008122, allocations: 101.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.000866/0.000866, allocations: 221.8 kB / 22.25 MB, free: 3.578 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 0.9216/0.9216, allocations: 230.6 MB / 256 MB, free: 9.586 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.06398/0.06398, allocations: 17.16 MB / 329.6 MB, free: 0.6992 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.Hydraulic.Examples.Windkessel_3element,fileNamePrefix="Bodylight_Bodylight_Hydraulic_Examples_Windkessel_3element",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Hydraulic.Examples.Windkessel_3element,fileNamePrefix="Bodylight_Bodylight_Hydraulic_Examples_Windkessel_3element",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.0009526/0.0009526, allocations: 67.89 kB / 460.2 MB, free: 26.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.09328, allocations: 57.76 MB / 0.5058 GB, free: 1.008 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.00255/0.09583, allocations: 2.52 MB / 0.5083 GB, free: 14.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008266/0.09665, allocations: 0.635 MB / 0.5089 GB, free: 13.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.09675, allocations: 7.938 kB / 0.5089 GB, free: 13.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.09687, allocations: 35.64 kB / 0.5089 GB, free: 13.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.09706, allocations: 79.33 kB / 0.509 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.09721, allocations: 71.84 kB / 0.5091 GB, free: 13.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.09744, allocations: 274.7 kB / 0.5093 GB, free: 13.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.09756, allocations: 41.77 kB / 0.5094 GB, free: 13.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.09775, allocations: 107.6 kB / 0.5095 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.09788, allocations: 99.59 kB / 0.5096 GB, free: 13.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.0979, allocations: 16 kB / 0.5096 GB, free: 13.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.49e-05/0.09793, allocations: 16 kB / 0.5096 GB, free: 13.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.09796, allocations: 39.78 kB / 0.5096 GB, free: 13.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.09803, allocations: 87.66 kB / 0.5097 GB, free: 12.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.09822, allocations: 215.5 kB / 0.5099 GB, free: 12.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.09822, allocations: 3.938 kB / 0.5099 GB, free: 12.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09823, allocations: 0 / 0.5099 GB, free: 12.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.09823, allocations: 0 / 0.5099 GB, free: 12.76 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005733/0.0988, allocations: 441.3 kB / 0.5104 GB, free: 12.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.09884, allocations: 8.031 kB / 0.5104 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.09888, allocations: 50.73 kB / 0.5104 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.09892, allocations: 20.84 kB / 0.5104 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.09917, allocations: 186.1 kB / 0.5106 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.559e-05/0.09927, allocations: 123.4 kB / 0.5107 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.09929, allocations: 16.12 kB / 0.5107 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.09955, allocations: 191.1 kB / 0.5109 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.09956, allocations: 7.938 kB / 0.5109 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.09957, allocations: 4 kB / 0.5109 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.09958, allocations: 4 kB / 0.5109 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.09979, allocations: 135.9 kB / 0.5111 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.1004, allocations: 487.2 kB / 0.5115 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.1007, allocations: 166.4 kB / 0.5117 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.716e-05/0.1008, allocations: 80.44 kB / 0.5118 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1009, allocations: 7.938 kB / 0.5118 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.101, allocations: 140.5 kB / 0.5119 GB, free: 10.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.101, allocations: 0 / 0.5119 GB, free: 10.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003694/0.1014, allocations: 229.4 kB / 0.5121 GB, free: 10.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.1014, allocations: 59.41 kB / 0.5122 GB, free: 10.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.1015, allocations: 186.3 kB / 0.5124 GB, free: 10.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1016, allocations: 29.7 kB / 0.5124 GB, free: 10.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.1016, allocations: 131.9 kB / 0.5125 GB, free: 9.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.1017, allocations: 51.56 kB / 0.5126 GB, free: 9.855 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.1017, allocations: 41.64 kB / 0.5126 GB, free: 9.809 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/0.1018, allocations: 330.8 kB / 0.5129 GB, free: 9.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.519e-05/0.1019, allocations: 51.95 kB / 0.513 GB, free: 9.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-05/0.102, allocations: 88.78 kB / 0.5131 GB, free: 9.332 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.1022, allocations: 147.3 kB / 0.5132 GB, free: 9.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1022, allocations: 0 / 0.5132 GB, free: 9.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002378/0.1024, allocations: 201.4 kB / 0.5134 GB, free: 8.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1024, allocations: 4 kB / 0.5134 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1024, allocations: 4 kB / 0.5134 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1025, allocations: 3.984 kB / 0.5134 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.1027, allocations: 68.02 kB / 0.5135 GB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1027, allocations: 4 kB / 0.5135 GB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.239e-05/0.1028, allocations: 27.88 kB / 0.5135 GB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1028, allocations: 4 kB / 0.5135 GB, free: 8.859 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: pulses.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of cardiac cycle\" type: Real pulses.T0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"beginning of cardiac cycle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.pulses.HP,$PRE.pulses.T0,pulses.b,$whenCondition1,pulses.TD2,pulses.HP,pulses.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001337/0.1029, allocations: 141.7 kB / 0.5136 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.1029, allocations: 15.91 kB / 0.5136 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.1032, allocations: 194.9 kB / 0.5138 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1032, allocations: 0 / 0.5138 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1032, allocations: 0 / 0.5138 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1032, allocations: 0 / 0.5138 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.1037, allocations: 488.4 kB / 0.5143 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1037, allocations: 4 kB / 0.5143 GB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.1039, allocations: 59.89 kB / 0.5144 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1039, allocations: 4.031 kB / 0.5144 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1039, allocations: 4 kB / 0.5144 GB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1039, allocations: 3.938 kB / 0.5144 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1039, allocations: 7.984 kB / 0.5144 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.1043, allocations: 343.8 kB / 0.5147 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.1043, allocations: 19.94 kB / 0.5147 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1043, allocations: 0 / 0.5147 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.1044, allocations: 15.92 kB / 0.5147 GB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.1044, allocations: 20.03 kB / 0.5148 GB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.1045, allocations: 4 kB / 0.5148 GB, free: 7.477 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.588e-05/0.1045, allocations: 148.4 kB / 0.5149 GB, free: 7.332 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1045, allocations: 0 / 0.5149 GB, free: 7.332 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.1047, allocations: 59.83 kB / 0.515 GB, free: 7.273 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (arteries.volume) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005303/0.1053, allocations: 0.8828 MB / 0.5158 GB, free: 6.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.1055, allocations: 135.8 kB / 0.516 GB, free: 6.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1055, allocations: 4 kB / 0.516 GB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.701e-05/0.1056, allocations: 63.89 kB / 0.516 GB, free: 6.168 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.1058, allocations: 52.09 kB / 0.5161 GB, free: 6.117 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.1076, allocations: 2.096 MB / 0.5181 GB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.63e-05/0.1076, allocations: 108.1 kB / 0.5182 GB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.643e-05/0.1077, allocations: 25.62 kB / 0.5182 GB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.1078, allocations: 51.42 kB / 0.5183 GB, free: 3.715 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1078, allocations: 0 / 0.5183 GB, free: 3.715 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08012/0.1879, allocations: 4.845 MB / 0.523 GB, free: 15.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.242/7.429, allocations: 3.984 kB / 0.523 GB, free: 15.01 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Hydraulic_Examples_Windkessel_3element_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Bodylight_Bodylight_Hydraulic_Examples_Windkessel_3element.fmu) > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_fmpy.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Bodylight_Bodylight_Hydraulic_Examples_Windkessel_3element.fmu) > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.753739651292562]