Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.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.000909/0.000909, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009479/0.0009479, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9459/0.9459, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.06243/0.06243, allocations: 12.75 MB / 271.9 MB, free: 0.4922 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.MinimalCirculation,fileNamePrefix="Bodylight_Bodylight_Hydraulic_Examples_MinimalCirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Hydraulic.Examples.MinimalCirculation,fileNamePrefix="Bodylight_Bodylight_Hydraulic_Examples_MinimalCirculation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 402.6 MB, free: 9.816 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.835e-05, allocations: 5.234 kB / 402.6 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.003695/0.003723, allocations: 2.635 MB / 405.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.005008, allocations: 0.6505 MB / 405.9 MB, free: 6.508 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.005165, allocations: 7.938 kB / 405.9 MB, free: 6.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.005314, allocations: 35.64 kB / 405.9 MB, free: 6.465 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.00558, allocations: 91.25 kB / 406 MB, free: 6.375 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.005785, allocations: 71.83 kB / 406.1 MB, free: 6.305 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.006148, allocations: 322.3 kB / 406.4 MB, free: 5.988 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.006322, allocations: 40.5 kB / 406.4 MB, free: 5.945 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.006524, allocations: 163.6 kB / 406.6 MB, free: 5.785 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.00666, allocations: 95.7 kB / 406.7 MB, free: 5.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.006688, allocations: 16 kB / 406.7 MB, free: 5.676 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.756e-05/0.006715, allocations: 24 kB / 406.7 MB, free: 5.652 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.006751, allocations: 39.83 kB / 406.8 MB, free: 5.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.178e-05/0.006823, allocations: 79.83 kB / 406.8 MB, free: 5.535 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.00705, allocations: 231.3 kB / 407.1 MB, free: 5.309 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.007053, allocations: 0 / 407.1 MB, free: 5.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007055, allocations: 0 / 407.1 MB, free: 5.309 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.007061, allocations: 0 / 407.1 MB, free: 5.309 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006425/0.007703, allocations: 475.2 kB / 407.5 MB, free: 4.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.007741, allocations: 19.98 kB / 407.6 MB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.007779, allocations: 46.73 kB / 407.6 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.007828, allocations: 28.8 kB / 407.6 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.008102, allocations: 186.2 kB / 407.8 MB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.704e-05/0.008169, allocations: 68.19 kB / 407.9 MB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.008195, allocations: 12.38 kB / 407.9 MB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.0085, allocations: 235.7 kB / 408.1 MB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.008515, allocations: 7.875 kB / 408.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.008531, allocations: 4 kB / 408.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.008536, allocations: 4 kB / 408.1 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.008793, allocations: 160 kB / 408.3 MB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.00945, allocations: 0.4915 MB / 408.8 MB, free: 3.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.009772, allocations: 174.4 kB / 409 MB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.009934, allocations: 92.73 kB / 409 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.009954, allocations: 3.984 kB / 409 MB, free: 3.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.0102, allocations: 190.7 kB / 409.2 MB, free: 2.965 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.0102, allocations: 0 / 409.2 MB, free: 2.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004321/0.01063, allocations: 251.2 kB / 409.5 MB, free: 2.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.01066, allocations: 55.41 kB / 409.5 MB, free: 2.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.0108, allocations: 206.8 kB / 409.7 MB, free: 2.438 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.01082, allocations: 29.7 kB / 409.8 MB, free: 2.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.01088, allocations: 131.9 kB / 409.9 MB, free: 2.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.01091, allocations: 59.52 kB / 410 MB, free: 2.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.01096, allocations: 37.7 kB / 410 MB, free: 2.168 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.01105, allocations: 330.8 kB / 410.3 MB, free: 1.836 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.01118, allocations: 93.66 kB / 410.4 MB, free: 1.738 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.01131, allocations: 123.3 kB / 410.5 MB, free: 1.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.01153, allocations: 182.2 kB / 410.7 MB, free: 1.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01153, allocations: 0 / 410.7 MB, free: 1.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003123/0.01185, allocations: 280.8 kB / 411 MB, free: 1.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.01187, allocations: 33.69 kB / 411 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01188, allocations: 0 / 411 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.01189, allocations: 4 kB / 411 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.01211, allocations: 51.89 kB / 411.1 MB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.01212, allocations: 4 kB / 411.1 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.54e-05/0.01221, allocations: 35.89 kB / 411.1 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.01222, allocations: 4 kB / 411.1 MB, free: 0.9883 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 8.919e-05/0.01231, allocations: 137.7 kB / 411.2 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.01233, allocations: 23.84 kB / 411.3 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.01265, allocations: 207 kB / 411.5 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.01265, allocations: 4 kB / 411.5 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01265, allocations: 0 / 411.5 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.01266, allocations: 0 / 411.5 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.01324, allocations: 0.4939 MB / 412 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01324, allocations: 0 / 412 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.01342, allocations: 51.95 kB / 412 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01343, allocations: 0 / 412 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.01344, allocations: 7.984 kB / 412 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.01344, allocations: 4 kB / 412 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01345, allocations: 0 / 412 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.0139, allocations: 386.3 kB / 412.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.01393, allocations: 23.89 kB / 412.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.01395, allocations: 0 / 412.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.01405, allocations: 23.97 kB / 412.4 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.0141, allocations: 19.92 kB / 412.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.01411, allocations: 7.984 kB / 412.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.41e-05/0.0142, allocations: 144.6 kB / 412.6 MB, free: 15.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0142, allocations: 0 / 412.6 MB, free: 15.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001891/0.01438, allocations: 56 kB / 412.7 MB, free: 15.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (arteries.volume,veins.volume) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005853/0.01497, allocations: 0.9034 MB / 413.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.0153, allocations: 249 kB / 413.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0153, allocations: 0 / 413.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.01542, allocations: 83.88 kB / 413.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.0157, allocations: 47.91 kB / 413.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.01797, allocations: 2.404 MB / 416.4 MB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.359e-05/0.01805, allocations: 121.3 kB / 416.5 MB, free: 11.35 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.91e-05/0.01813, allocations: 29.61 kB / 416.5 MB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.01821, allocations: 60.48 kB / 416.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01822, allocations: 0 / 416.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08409/0.1023, allocations: 5.839 MB / 422.4 MB, free: 5.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.172/7.274, allocations: 8.375 kB / 422.4 MB, free: 5.586 MB / 394.7 MB " [Timeout remaining time 653] (rm -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Hydraulic_Examples_MinimalCirculation_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Bodylight_Bodylight_Hydraulic_Examples_MinimalCirculation.fmu) > Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_fmpy.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_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_MinimalCirculation.fmu) > Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.453912961296737]