Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.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.001244/0.001244, 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.0008977/0.0008977, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.006/1.006, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.08554/0.08554, 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.Kofranek2014.NonPulsatileCirculation,fileNamePrefix="Bodylight_Bodylight_Hydraulic_Examples_Kofranek2014_NonPulsatileCirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation,fileNamePrefix="Bodylight_Bodylight_Hydraulic_Examples_Kofranek2014_NonPulsatileCirculation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 402.8 MB, free: 9.629 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.29e-05, allocations: 9.234 kB / 402.8 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.00337/0.003393, allocations: 3.464 MB / 406.2 MB, free: 6.137 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.005023, allocations: 0.8335 MB / 407.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.005217, allocations: 15.88 kB / 407.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.005393, allocations: 71.28 kB / 407.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.005788, allocations: 226 kB / 407.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.006007, allocations: 99.84 kB / 407.5 MB, free: 4.895 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005304/0.006537, allocations: 0.6258 MB / 408.1 MB, free: 4.266 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.006752, allocations: 92.84 kB / 408.2 MB, free: 4.172 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.007093, allocations: 311.3 kB / 408.5 MB, free: 3.867 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.007318, allocations: 183.5 kB / 408.7 MB, free: 3.688 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.187e-05/0.00736, allocations: 31.94 kB / 408.7 MB, free: 3.656 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.486e-05/0.007405, allocations: 28 kB / 408.7 MB, free: 3.629 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.00746, allocations: 71.69 kB / 408.8 MB, free: 3.559 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.007582, allocations: 163.7 kB / 409 MB, free: 3.398 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.007984, allocations: 442.6 kB / 409.4 MB, free: 2.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.007989, allocations: 7.938 kB / 409.4 MB, free: 2.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.00799, allocations: 0 / 409.4 MB, free: 2.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.007998, allocations: 4 kB / 409.4 MB, free: 2.953 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008361/0.008835, allocations: 0.6139 MB / 410 MB, free: 2.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.008876, allocations: 11.98 kB / 410 MB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.068e-05/0.008937, allocations: 66.72 kB / 410.1 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.009006, allocations: 44.7 kB / 410.2 MB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.009414, allocations: 272.5 kB / 410.4 MB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.009516, allocations: 124 kB / 410.5 MB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.009552, allocations: 32.38 kB / 410.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.009978, allocations: 381.4 kB / 410.9 MB, free: 1.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.009994, allocations: 7.938 kB / 411 MB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.01002, allocations: 16 kB / 411 MB, free: 1.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.01002, allocations: 8 kB / 411 MB, free: 1.281 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.01038, allocations: 238.5 kB / 411.2 MB, free: 1.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.01139, allocations: 0.7845 MB / 412 MB, free: 220 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.01177, allocations: 230.5 kB / 412.2 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.01205, allocations: 168.7 kB / 412.4 MB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.01208, allocations: 7.984 kB / 412.4 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.0121, allocations: 38.94 kB / 412.4 MB, free: 15.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.01211, allocations: 0 / 412.4 MB, free: 15.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005356/0.01264, allocations: 337.1 kB / 412.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.01267, allocations: 55.41 kB / 412.8 MB, free: 15.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.01293, allocations: 341.7 kB / 413.1 MB, free: 15.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.01295, allocations: 33.7 kB / 413.2 MB, free: 14.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.01306, allocations: 192.4 kB / 413.4 MB, free: 14.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.01311, allocations: 83.27 kB / 413.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.01317, allocations: 57.62 kB / 413.5 MB, free: 14.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.01327, allocations: 346.8 kB / 413.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.0134, allocations: 91.95 kB / 413.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.01353, allocations: 87.94 kB / 414 MB, free: 14.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.01381, allocations: 193.2 kB / 414.2 MB, free: 13.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01381, allocations: 4 kB / 414.2 MB, free: 13.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003606/0.01417, allocations: 297.2 kB / 414.5 MB, free: 13.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01419, allocations: 4 kB / 414.5 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01419, allocations: 0 / 414.5 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.01421, allocations: 4 kB / 414.5 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.01455, allocations: 95.86 kB / 414.6 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01456, allocations: 4 kB / 414.6 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.01468, allocations: 35.77 kB / 414.6 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.0147, allocations: 7.984 kB / 414.6 MB, free: 13.47 MB / 394.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 (30): * Single equations (assignments): 30 * 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.0001113/0.01481, allocations: 141.7 kB / 414.8 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.01485, allocations: 47.7 kB / 414.8 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/0.01525, allocations: 284.1 kB / 415.1 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01526, allocations: 0 / 415.1 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01526, allocations: 0 / 415.1 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01526, allocations: 0 / 415.1 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.01556, allocations: 308.5 kB / 415.4 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.01556, allocations: 4 kB / 415.4 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.01584, allocations: 83.8 kB / 415.5 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01585, allocations: 4 kB / 415.5 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.01586, allocations: 7.984 kB / 415.5 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01587, allocations: 0 / 415.5 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01587, allocations: 8 kB / 415.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.01641, allocations: 463.1 kB / 416 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.01646, allocations: 55.61 kB / 416 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.0165, allocations: 0 / 416 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.01662, allocations: 19.98 kB / 416 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.01665, allocations: 15.97 kB / 416.1 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.01666, allocations: 8 kB / 416.1 MB, free: 11.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001706/0.01683, allocations: 243.2 kB / 416.3 MB, free: 11.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01683, allocations: 0 / 416.3 MB, free: 11.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.01706, allocations: 91.95 kB / 416.4 MB, free: 11.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (PulmonaryArteries.volume,PulmonaryVeins.volume,SystemicVeins.volume,SystemicArteries.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 (22): * Single equations (assignments): 22 * 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.0007084/0.01777, allocations: 1.016 MB / 417.4 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.01811, allocations: 203.9 kB / 417.6 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01812, allocations: 4 kB / 417.6 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.01825, allocations: 111.8 kB / 417.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.01866, allocations: 117.4 kB / 417.8 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.02164, allocations: 3.17 MB / 421 MB, free: 6.934 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.02176, allocations: 173.8 kB / 421.2 MB, free: 6.746 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.02191, allocations: 51.27 kB / 421.2 MB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.02203, allocations: 120.4 kB / 421.3 MB, free: 6.578 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02203, allocations: 0 / 421.3 MB, free: 6.578 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09571/0.1177, allocations: 9.835 MB / 431.2 MB, free: 12.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.288/7.405, allocations: 9.734 kB / 431.2 MB, free: 12.95 MB / 410.7 MB " [Timeout remaining time 653] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Hydraulic_Examples_Kofranek2014_NonPulsatileCirculation_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Bodylight_Bodylight_Hydraulic_Examples_Kofranek2014_NonPulsatileCirculation.fmu) > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation_fmpy.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation_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_Kofranek2014_NonPulsatileCirculation.fmu) > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.856344118714333]