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.0009516/0.0009516, allocations: 88.52 kB / 19.93 MB, free: 4.605 MB / 18.57 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.0009505/0.0009505, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9278/0.9278, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.05844/0.05844, allocations: 12.74 MB / 272.7 MB, free: 0.5078 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: translateModel(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation") translateModel(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 403.3 MB, free: 8.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.788e-05, allocations: 9.375 kB / 403.3 MB, free: 8.723 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.002754/0.002772, allocations: 3.471 MB / 406.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.003748, allocations: 0.8296 MB / 407.6 MB, free: 4.402 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.003879, allocations: 15.88 kB / 407.6 MB, free: 4.387 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.004028, allocations: 71.22 kB / 407.6 MB, free: 4.316 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.004304, allocations: 218.2 kB / 407.9 MB, free: 4.102 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.00445, allocations: 111.7 kB / 408 MB, free: 3.992 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000369/0.004819, allocations: 0.6258 MB / 408.6 MB, free: 3.363 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.004991, allocations: 88.84 kB / 408.7 MB, free: 3.273 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.005206, allocations: 303.3 kB / 409 MB, free: 2.977 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.005535, allocations: 183.5 kB / 409.2 MB, free: 2.797 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.005577, allocations: 28 kB / 409.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.547e-05/0.005623, allocations: 32 kB / 409.2 MB, free: 2.738 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.005672, allocations: 75.62 kB / 409.3 MB, free: 2.664 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.005782, allocations: 163.6 kB / 409.4 MB, free: 2.504 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.006087, allocations: 446.6 kB / 409.9 MB, free: 2.066 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.006088, allocations: 0 / 409.9 MB, free: 2.066 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006089, allocations: 0 / 409.9 MB, free: 2.066 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.006094, allocations: 4 kB / 409.9 MB, free: 2.062 MB / 330.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.0006664/0.00676, allocations: 0.6087 MB / 410.5 MB, free: 1.426 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.006795, allocations: 15.97 kB / 410.5 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.275e-05/0.006857, allocations: 48.66 kB / 410.6 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.007158, allocations: 272.5 kB / 410.8 MB, free: 1.066 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.745e-05/0.007246, allocations: 128 kB / 411 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.007286, allocations: 40.25 kB / 411 MB, free: 0.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.007668, allocations: 385.4 kB / 411.4 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.007681, allocations: 192 / 411.4 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.007702, allocations: 19.94 kB / 411.4 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.00771, allocations: 11.94 kB / 411.4 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.00804, allocations: 238.5 kB / 411.6 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1296/0.1376, allocations: 0.6769 MB / 412.3 MB, free: 20.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.1381, allocations: 246.9 kB / 412.5 MB, free: 20.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.1385, allocations: 171.4 kB / 412.7 MB, free: 20.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1385, allocations: 6.219 kB / 412.7 MB, free: 20.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1385, allocations: 37.41 kB / 412.8 MB, free: 20.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.104e-06/0.1385, allocations: 0 / 412.8 MB, free: 20.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005268/0.139, allocations: 323.5 kB / 413.1 MB, free: 20.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.1391, allocations: 58.59 kB / 413.1 MB, free: 20.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1392, allocations: 260.7 kB / 413.4 MB, free: 20.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1393, allocations: 31.7 kB / 413.4 MB, free: 20.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.1393, allocations: 206.4 kB / 413.6 MB, free: 20.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.1394, allocations: 86.16 kB / 413.7 MB, free: 20.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.1394, allocations: 49.16 kB / 413.8 MB, free: 20.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.1395, allocations: 340.6 kB / 414.1 MB, free: 20.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1396, allocations: 89.25 kB / 414.2 MB, free: 20.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1397, allocations: 86.98 kB / 414.3 MB, free: 20.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.14, allocations: 190.2 kB / 414.4 MB, free: 20.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.14, allocations: 0 / 414.4 MB, free: 20.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003412/0.1404, allocations: 294.1 kB / 414.7 MB, free: 20.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1404, allocations: 9.656 kB / 414.7 MB, free: 20.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1404, allocations: 0 / 414.7 MB, free: 20.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1404, allocations: 5.219 kB / 414.7 MB, free: 20.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.1407, allocations: 90.16 kB / 414.8 MB, free: 20.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1407, allocations: 5.562 kB / 414.8 MB, free: 20.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1409, allocations: 29.52 kB / 414.9 MB, free: 20.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1409, allocations: 12.55 kB / 414.9 MB, free: 20.04 MB / 330.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 9.238e-05/0.141, allocations: 139 kB / 415 MB, free: 19.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.141, allocations: 28.61 kB / 415 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.1414, allocations: 279.3 kB / 415.3 MB, free: 19.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1414, allocations: 1.469 kB / 415.3 MB, free: 19.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1414, allocations: 3.438 kB / 415.3 MB, free: 19.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1414, allocations: 9.703 kB / 415.3 MB, free: 19.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.1417, allocations: 265 kB / 415.6 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1417, allocations: 0 / 415.6 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.142, allocations: 80.25 kB / 415.7 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.142, allocations: 1.469 kB / 415.7 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.142, allocations: 8.25 kB / 415.7 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.142, allocations: 1.625 kB / 415.7 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.142, allocations: 0 / 415.7 MB, free: 19.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.1425, allocations: 469.3 kB / 416.1 MB, free: 19.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.1425, allocations: 29.52 kB / 416.2 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.1426, allocations: 5.094 kB / 416.2 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1427, allocations: 17.97 kB / 416.2 MB, free: 19.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.1427, allocations: 16.11 kB / 416.2 MB, free: 19.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1427, allocations: 11.75 kB / 416.2 MB, free: 19.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1428, allocations: 182.1 kB / 416.4 MB, free: 19.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1428, allocations: 1.969 kB / 416.4 MB, free: 19.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000245/0.1431, allocations: 105.1 kB / 416.5 MB, free: 19.18 MB / 330.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 8.271e-05/0.1431, allocations: 109.8 kB / 416.6 MB, free: 19.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.1435, allocations: 207.5 kB / 416.8 MB, free: 19.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1435, allocations: 0 / 416.8 MB, free: 19.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.1436, allocations: 108.8 kB / 416.9 MB, free: 19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.144, allocations: 97.55 kB / 417 MB, free: 18.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007965/0.1448, allocations: 0.7099 MB / 417.7 MB, free: 18.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.1449, allocations: 176.5 kB / 417.9 MB, free: 18.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.145, allocations: 36.92 kB / 417.9 MB, free: 18.42 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.145, allocations: 4.734 kB / 417.9 MB, free: 18.42 MB / 330.7 MB Notification: Performance of Templates: time 0.006027/0.151, allocations: 4.472 MB / 422.4 MB, free: 17.92 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.makefile [Timeout 660] (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 & ./Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.96125957602635]