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.000866/0.000866, 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.0009511/0.0009511, 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 1.022/1.022, allocations: 230.6 MB / 256 MB, free: 9.59 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.08435/0.08435, allocations: 17.17 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.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: 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.001388/0.001388, allocations: 71.89 kB / 460.2 MB, free: 26.85 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09112/0.09251, allocations: 57.76 MB / 0.5058 GB, free: 1 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.003894/0.09641, allocations: 4.398 MB / 0.5101 GB, free: 12.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.09857, allocations: 1.188 MB / 0.5113 GB, free: 11.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.09883, allocations: 23.81 kB / 0.5113 GB, free: 11.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006846/0.09951, allocations: 218.6 kB / 0.5115 GB, free: 11.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.09994, allocations: 277.9 kB / 0.5118 GB, free: 10.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.1004, allocations: 187.7 kB / 0.5119 GB, free: 10.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007333/0.1011, allocations: 0.8638 MB / 0.5128 GB, free: 9.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.1014, allocations: 125.7 kB / 0.5129 GB, free: 9.691 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/0.1017, allocations: 311 kB / 0.5132 GB, free: 9.387 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.1021, allocations: 338.5 kB / 0.5135 GB, free: 9.055 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.485e-05/0.1021, allocations: 56 kB / 0.5136 GB, free: 9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.1025, allocations: 231.7 kB / 0.5138 GB, free: 8.773 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.1027, allocations: 227.3 kB / 0.514 GB, free: 8.551 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004993/0.1032, allocations: 0.5997 MB / 0.5146 GB, free: 7.949 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.1047, allocations: 1.702 MB / 0.5163 GB, free: 6.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1047, allocations: 0 / 0.5163 GB, free: 6.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1047, allocations: 0 / 0.5163 GB, free: 6.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1047, allocations: 0 / 0.5163 GB, free: 6.242 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00295/0.1076, allocations: 1.459 MB / 0.5177 GB, free: 4.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1077, allocations: 8.031 kB / 0.5177 GB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.431e-05/0.1078, allocations: 90.64 kB / 0.5178 GB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.108, allocations: 92.38 kB / 0.5179 GB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.1113, allocations: 2.778 MB / 0.5206 GB, free: 1.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.1115, allocations: 306.6 kB / 0.5209 GB, free: 1.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.1115, allocations: 44.12 kB / 0.5209 GB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.1123, allocations: 0.6668 MB / 0.5216 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.1124, allocations: 7.953 kB / 0.5216 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.1124, allocations: 19.98 kB / 0.5216 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.1124, allocations: 12 kB / 0.5216 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00087/0.1133, allocations: 0.6402 MB / 0.5222 GB, free: 15.97 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.00381/0.1171, allocations: 2.519 MB / 0.5247 GB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.1184, allocations: 0.7574 MB / 0.5254 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006331/0.119, allocations: 432.6 kB / 0.5258 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.119, allocations: 4 kB / 0.5259 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.119, allocations: 38.56 kB / 0.5259 GB, free: 12.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=36): time 1.994e-06/0.1191, allocations: 0 / 0.5259 GB, free: 12.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001329/0.1204, allocations: 0.9033 MB / 0.5268 GB, free: 11.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.1204, allocations: 63.28 kB / 0.5268 GB, free: 11.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004229/0.1246, allocations: 3.277 MB / 0.53 GB, free: 7.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1247, allocations: 29.7 kB / 0.5301 GB, free: 7.855 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.1249, allocations: 356.4 kB / 0.5304 GB, free: 7.504 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.631e-05/0.125, allocations: 134.8 kB / 0.5305 GB, free: 7.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.1251, allocations: 78.11 kB / 0.5306 GB, free: 7.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.1252, allocations: 322 kB / 0.5309 GB, free: 6.969 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.1255, allocations: 268.7 kB / 0.5312 GB, free: 6.703 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.1259, allocations: 342.8 kB / 0.5315 GB, free: 6.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007511/0.1267, allocations: 0.5999 MB / 0.5321 GB, free: 5.719 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1267, allocations: 0 / 0.5321 GB, free: 5.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001009/0.1277, allocations: 0.7191 MB / 0.5328 GB, free: 4.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1277, allocations: 11.94 kB / 0.5328 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1277, allocations: 0 / 0.5328 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1277, allocations: 4 kB / 0.5328 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007561/0.1285, allocations: 191.9 kB / 0.533 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.1285, allocations: 4 kB / 0.533 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.129, allocations: 71.61 kB / 0.5331 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.129, allocations: 19.98 kB / 0.5331 GB, free: 4.695 MB / 394.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.0002103/0.1292, allocations: 229.7 kB / 0.5333 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.1294, allocations: 71.53 kB / 0.5334 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009203/0.1304, allocations: 0.6915 MB / 0.534 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1304, allocations: 7.938 kB / 0.534 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1304, allocations: 3.938 kB / 0.534 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1304, allocations: 3.984 kB / 0.534 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.1327, allocations: 1.768 MB / 0.5358 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1327, allocations: 3.938 kB / 0.5358 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007121/0.1334, allocations: 163.8 kB / 0.5359 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1334, allocations: 8 kB / 0.5359 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.1335, allocations: 7.984 kB / 0.536 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.1335, allocations: 4 kB / 0.536 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1335, allocations: 0 / 0.536 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.1352, allocations: 1.152 MB / 0.5371 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006854/0.1358, allocations: 411.2 kB / 0.5375 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.136, allocations: 4 kB / 0.5375 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.1365, allocations: 43.97 kB / 0.5375 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.1366, allocations: 23.95 kB / 0.5375 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.1366, allocations: 15.98 kB / 0.5376 GB, free: 8 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002592/0.1392, allocations: 2.502 MB / 0.54 GB, free: 13.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1392, allocations: 0 / 0.54 GB, free: 13.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005968/0.1398, allocations: 287.8 kB / 0.5403 GB, free: 13.23 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.001771/0.1416, allocations: 1.731 MB / 0.542 GB, free: 11.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008411/0.1424, allocations: 0.5899 MB / 0.5425 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1424, allocations: 0 / 0.5425 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003951/0.1428, allocations: 307.7 kB / 0.5428 GB, free: 10.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.1435, allocations: 143 kB / 0.543 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.208/0.3515, allocations: 11.44 MB / 0.5541 GB, free: 46.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.3518, allocations: 327.8 kB / 0.5545 GB, free: 46.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00077/0.3526, allocations: 228.6 kB / 0.5547 GB, free: 46.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006089/0.3532, allocations: 296.1 kB / 0.555 GB, free: 46.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.3532, allocations: 3.391 kB / 0.555 GB, free: 46.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09811/0.4513, allocations: 29.6 MB / 0.5839 GB, free: 28.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.217/7.668, allocations: 11.86 kB / 0.5839 GB, free: 28.77 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.097288549877703]