Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.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.0007299/0.0007299, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001748, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007922/0.0007922, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.00186, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08317/1.084, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.09388/0.09388, allocations: 12.75 MB / 256.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008878/0.1028, allocations: 4.832 MB / 261.5 MB, free: 13.26 MB / 266.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: translateModel(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation") translateModel(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 263 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/1.993e-05, allocations: 6.312 kB / 263 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation): time 0.004776/0.004796, allocations: 4.673 MB / 267.7 MB, free: 7.098 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.006715, allocations: 1.028 MB / 268.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.006965, allocations: 19.88 kB / 268.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.00714, allocations: 95.06 kB / 268.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004359/0.007576, allocations: 269.7 kB / 269.1 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.00791, allocations: 159.7 kB / 269.2 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009752/0.008885, allocations: 0.8241 MB / 270.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.009116, allocations: 133.5 kB / 270.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000575/0.009691, allocations: 470.1 kB / 270.6 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.01002, allocations: 243.3 kB / 270.9 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.01008, allocations: 44 kB / 270.9 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.17e-05/0.01015, allocations: 47.94 kB / 271 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.726e-05/0.01022, allocations: 75.75 kB / 271 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.0104, allocations: 183.7 kB / 271.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.01084, allocations: 414.5 kB / 271.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.594e-05/0.01085, allocations: 0 / 271.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01085, allocations: 0 / 271.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.01087, allocations: 11.94 kB / 271.6 MB, free: 3.105 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001027/0.0119, allocations: 0.8244 MB / 272.5 MB, free: 2.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.01193, allocations: 8.031 kB / 272.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.601e-05/0.01202, allocations: 76.88 kB / 272.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.0124, allocations: 281.4 kB / 272.8 MB, free: 1.871 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.0125, allocations: 140.4 kB / 273 MB, free: 1.711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.01255, allocations: 44.38 kB / 273 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.01306, allocations: 406.4 kB / 273.4 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.01307, allocations: 4.125 kB / 273.4 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.0131, allocations: 19.94 kB / 273.4 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.01311, allocations: 12 kB / 273.4 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.01335, allocations: 122.9 kB / 273.6 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.01456, allocations: 0.6509 MB / 274.2 MB, free: 420 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.01487, allocations: 211.1 kB / 274.4 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1054/0.1202, allocations: 198.5 kB / 274.6 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.21e-05/0.1203, allocations: 7.547 kB / 274.6 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.1206, allocations: 255.2 kB / 274.9 MB, free: 5.926 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 3.637e-06/0.1206, allocations: 4.594 kB / 274.9 MB, free: 5.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0003304/0.1209, allocations: 210.1 kB / 275.1 MB, free: 5.887 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.1209, allocations: 57 kB / 275.1 MB, free: 5.824 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.1211, allocations: 264.5 kB / 275.4 MB, free: 5.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.1211, allocations: 38.55 kB / 275.4 MB, free: 5.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.1212, allocations: 202.6 kB / 275.6 MB, free: 5.598 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.1213, allocations: 125.8 kB / 275.7 MB, free: 5.547 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.542e-05/0.1213, allocations: 77.08 kB / 275.8 MB, free: 5.527 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.1214, allocations: 351.8 kB / 276.2 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.1215, allocations: 38.19 kB / 276.2 MB, free: 5.215 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.977e-05/0.1215, allocations: 79.69 kB / 276.3 MB, free: 5.184 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1217, allocations: 148.4 kB / 276.4 MB, free: 5.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1217, allocations: 7.609 kB / 276.4 MB, free: 5.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002328/0.122, allocations: 200.8 kB / 276.6 MB, free: 5.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.122, allocations: 5.828 kB / 276.6 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.122, allocations: 1.062 kB / 276.6 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.122, allocations: 3.203 kB / 276.6 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.1224, allocations: 145.4 kB / 276.8 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1225, allocations: 2.25 kB / 276.8 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.1226, allocations: 47 kB / 276.8 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1226, allocations: 11.98 kB / 276.8 MB, free: 5.113 MB / 266.7 MB Warning: Assuming fixed start value for the following 4 variables: rightHeart.pulses.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of cardiac cycle\" type: Real rightHeart.pulses.T0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"beginning of cardiac cycle\" type: Real leftHeart.pulses.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of cardiac cycle\" type: Real leftHeart.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: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.rightHeart.pulses.HP,$PRE.rightHeart.pulses.T0,rightHeart.pulses.b,$whenCondition1,$PRE.leftHeart.pulses.HP,$PRE.leftHeart.pulses.T0,leftHeart.pulses.b,$whenCondition2,leftHeart.pulses.TD2,leftHeart.pulses.HP,leftHeart.pulses.T0,rightHeart.pulses.TD2,rightHeart.pulses.HP,rightHeart.pulses.T0) * 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.0001389/0.1228, allocations: 158.6 kB / 277 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.1228, allocations: 34.33 kB / 277 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.1231, allocations: 198.6 kB / 277.2 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1231, allocations: 4.594 kB / 277.2 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1231, allocations: 0 / 277.2 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1231, allocations: 2.75 kB / 277.2 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.1236, allocations: 497.7 kB / 277.7 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1236, allocations: 1.969 kB / 277.7 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.124, allocations: 117.1 kB / 277.8 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.124, allocations: 32.48 kB / 277.9 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.124, allocations: 3.438 kB / 277.9 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.1241, allocations: 9.5 kB / 277.9 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1241, allocations: 1.969 kB / 277.9 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1241, allocations: 0.6562 kB / 277.9 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.1244, allocations: 343.1 kB / 278.2 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.1244, allocations: 8.281 kB / 278.2 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.1246, allocations: 26.25 kB / 278.2 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.1246, allocations: 25.61 kB / 278.3 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.1246, allocations: 14.62 kB / 278.3 MB, free: 4.598 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.728e-05/0.1247, allocations: 99.72 kB / 278.4 MB, free: 4.582 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1247, allocations: 0 / 278.4 MB, free: 4.582 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002995/0.125, allocations: 153.7 kB / 278.5 MB, free: 4.555 MB / 266.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: 10 (leftHeart.pulses.b,rightHeart.pulses.b,$whenCondition2,$whenCondition1,rightHeart.pulses.T0,rightHeart.pulses.HP,rightHeart.pulses.TD2,leftHeart.pulses.T0,leftHeart.pulses.HP,leftHeart.pulses.TD2) * Number of discrete states: 4 (rightHeart.pulses.T0,rightHeart.pulses.HP,leftHeart.pulses.T0,leftHeart.pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001111/0.1251, allocations: 94.88 kB / 278.6 MB, free: 4.488 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.1254, allocations: 171.9 kB / 278.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/0.1254, allocations: 13.55 kB / 278.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1255, allocations: 91.88 kB / 278.9 MB, free: 4.461 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.1258, allocations: 148.3 kB / 279 MB, free: 4.461 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.1381, allocations: 0.7686 MB / 279.8 MB, free: 4.074 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.296e-05/0.1382, allocations: 106.2 kB / 279.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002547/0.1385, allocations: 50.66 kB / 280 MB, free: 4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.1387, allocations: 158.5 kB / 280.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1387, allocations: 0.9375 kB / 280.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of Templates: time 0.008549/0.1473, allocations: 6.026 MB / 286.1 MB, free: 2.645 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.PulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8022515485063195]