Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.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.001112/0.001112, 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.001688/0.001688, 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 1.024/1.024, allocations: 177.2 MB / 202.8 MB, free: 5.727 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.05671/0.05671, allocations: 12.74 MB / 271.9 MB, free: 492 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: "" <> buildModelFMU(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG,fileNamePrefix="Bodylight_Bodylight_Hydraulic_Examples_CardiovascularSystem_GCG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG,fileNamePrefix="Bodylight_Bodylight_Hydraulic_Examples_CardiovascularSystem_GCG",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 402.6 MB, free: 9.789 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.204e-05, allocations: 2.281 kB / 402.6 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.004272/0.004284, allocations: 4.39 MB / 407 MB, free: 5.375 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.006243, allocations: 1.192 MB / 408.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.006488, allocations: 19.81 kB / 408.2 MB, free: 4.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006367/0.007125, allocations: 218.6 kB / 408.4 MB, free: 3.945 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.007546, allocations: 285.7 kB / 408.7 MB, free: 3.664 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.007879, allocations: 199.6 kB / 408.9 MB, free: 3.469 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007091/0.008588, allocations: 0.8865 MB / 409.8 MB, free: 2.578 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.00882, allocations: 133.5 kB / 409.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004592/0.009279, allocations: 455.1 kB / 410.4 MB, free: 1.996 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.00964, allocations: 295.2 kB / 410.7 MB, free: 1.707 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.307e-05/0.009713, allocations: 52 kB / 410.7 MB, free: 1.656 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.01006, allocations: 227.7 kB / 410.9 MB, free: 1.434 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.01025, allocations: 235.3 kB / 411.2 MB, free: 1.203 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005323/0.01078, allocations: 0.5498 MB / 411.7 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.01216, allocations: 1.715 MB / 413.4 MB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.01216, allocations: 0 / 413.4 MB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01216, allocations: 0 / 413.4 MB, free: 14.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.01218, allocations: 0 / 413.4 MB, free: 14.93 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003095/0.01527, allocations: 1.498 MB / 414.9 MB, free: 13.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.01531, allocations: 11.98 kB / 414.9 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.649e-05/0.01539, allocations: 86.72 kB / 415 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.01561, allocations: 92.38 kB / 415.1 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003315/0.01892, allocations: 2.785 MB / 417.9 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.01909, allocations: 302.6 kB / 418.2 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/0.01915, allocations: 44.38 kB / 418.2 MB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008305/0.01998, allocations: 0.679 MB / 418.9 MB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.02, allocations: 7.891 kB / 418.9 MB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.02004, allocations: 16 kB / 418.9 MB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.02005, allocations: 12 kB / 418.9 MB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009059/0.02096, allocations: 0.6403 MB / 419.6 MB, free: 8.602 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/0.02459, allocations: 2.55 MB / 422.1 MB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.02591, allocations: 0.7365 MB / 422.9 MB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006746/0.02659, allocations: 436.2 kB / 423.3 MB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.02662, allocations: 11.98 kB / 423.3 MB, free: 4.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.02664, allocations: 38.56 kB / 423.3 MB, free: 4.773 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 2.024e-06/0.02665, allocations: 0 / 423.3 MB, free: 4.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001376/0.02802, allocations: 0.9119 MB / 424.3 MB, free: 3.855 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.02805, allocations: 55.41 kB / 424.3 MB, free: 3.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/0.03233, allocations: 3.292 MB / 427.6 MB, free: 496 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.03236, allocations: 37.64 kB / 427.6 MB, free: 452 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.03259, allocations: 356.4 kB / 428 MB, free: 92 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.03269, allocations: 126.9 kB / 428.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.0328, allocations: 82.17 kB / 428.2 MB, free: 15.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.03289, allocations: 325.9 kB / 428.5 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.03327, allocations: 264.9 kB / 428.8 MB, free: 15.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.03369, allocations: 343.5 kB / 429.1 MB, free: 14.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000786/0.03448, allocations: 0.5999 MB / 429.7 MB, free: 14.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.03448, allocations: 0 / 429.7 MB, free: 14.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.004148/0.03863, allocations: 0.7268 MB / 430.4 MB, free: 13.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.03865, allocations: 4 kB / 430.4 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.03865, allocations: 4 kB / 430.4 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.03867, allocations: 4 kB / 430.4 MB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008019/0.03947, allocations: 184 kB / 430.6 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.03948, allocations: 11.92 kB / 430.6 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.04009, allocations: 71.66 kB / 430.7 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.04012, allocations: 15.98 kB / 430.7 MB, free: 13.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (48): * Single equations (assignments): 48 * 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.0002279/0.04035, allocations: 229.7 kB / 430.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.04054, allocations: 79.53 kB / 431 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.04257, allocations: 0.6916 MB / 431.7 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.04258, allocations: 4 kB / 431.7 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.04259, allocations: 0 / 431.7 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.04259, allocations: 3.984 kB / 431.7 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007509/0.0501, allocations: 1.772 MB / 433.5 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.0501, allocations: 0 / 433.5 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007607/0.05086, allocations: 159.8 kB / 433.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.05087, allocations: 0 / 433.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.05089, allocations: 11.94 kB / 433.7 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.0509, allocations: 11.92 kB / 433.7 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.0509, allocations: 0 / 433.7 MB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.05242, allocations: 1.156 MB / 434.8 MB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003718/0.05614, allocations: 419.2 kB / 435.2 MB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.05633, allocations: 15.88 kB / 435.3 MB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005921/0.05692, allocations: 48.09 kB / 435.3 MB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.05699, allocations: 35.81 kB / 435.3 MB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.05702, allocations: 15.98 kB / 435.3 MB, free: 8.562 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004899/0.06191, allocations: 2.51 MB / 437.9 MB, free: 6.059 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.06191, allocations: 0 / 437.9 MB, free: 6.059 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007876/0.0627, allocations: 291.8 kB / 438.1 MB, free: 5.773 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pulmonaryVeinsAndLeftAtrium.volume,pulmonaryArteries.volume,arteries.volume,veins.volume,rightAtrium.volume) * 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 (36): * Single equations (assignments): 36 * 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.001654/0.06436, allocations: 1.72 MB / 439.9 MB, free: 4.027 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007521/0.06511, allocations: 0.6054 MB / 440.5 MB, free: 3.422 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.06511, allocations: 0 / 440.5 MB, free: 3.422 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.06542, allocations: 303.8 kB / 440.8 MB, free: 3.125 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.06605, allocations: 146.9 kB / 440.9 MB, free: 2.977 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1992/0.2652, allocations: 11.4 MB / 452.3 MB, free: 76.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.2654, allocations: 326.1 kB / 452.6 MB, free: 76.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004225/0.2658, allocations: 233.1 kB / 452.9 MB, free: 76.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/0.2663, allocations: 307.2 kB / 453.2 MB, free: 75.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2663, allocations: 0 / 453.2 MB, free: 75.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/0.3949, allocations: 29.76 MB / 482.9 MB, free: 69.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/7.833, allocations: 18.2 kB / 482.9 MB, free: 69.53 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Hydraulic_Examples_CardiovascularSystem_GCG_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=50 --tolerance=1e-06 ../Bodylight_Bodylight_Hydraulic_Examples_CardiovascularSystem_GCG.fmu) > Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_fmpy.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_fmpy_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 ../Bodylight_Bodylight_Hydraulic_Examples_CardiovascularSystem_GCG.fmu) > Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.236210091970861]