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.001884/0.001884, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002045/0.002045, allocations: 221.4 kB / 22.25 MB, free: 3.586 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.715/1.715, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] 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.1319/0.1319, allocations: 17.16 MB / 329.6 MB, free: 0.8164 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.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG") translateModel(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG") [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.01099/0.01099, allocations: 71.89 kB / 460.7 MB, free: 26.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1289, allocations: 57.76 MB / 0.5063 GB, free: 416 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.006231/0.1352, allocations: 4.393 MB / 0.5106 GB, free: 12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.1375, allocations: 1.18 MB / 0.5117 GB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.1377, allocations: 19.81 kB / 0.5118 GB, free: 10.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007173/0.1384, allocations: 222.6 kB / 0.512 GB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004926/0.1389, allocations: 273.9 kB / 0.5122 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.1393, allocations: 187.6 kB / 0.5124 GB, free: 10.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009623/0.1402, allocations: 0.8637 MB / 0.5133 GB, free: 9.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.1405, allocations: 129.4 kB / 0.5134 GB, free: 9.117 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.1409, allocations: 307 kB / 0.5137 GB, free: 8.816 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005474/0.1414, allocations: 342.5 kB / 0.514 GB, free: 8.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-05/0.1415, allocations: 56 kB / 0.5141 GB, free: 8.426 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.142, allocations: 223.8 kB / 0.5143 GB, free: 8.207 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.1423, allocations: 215.4 kB / 0.5145 GB, free: 7.996 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.1426, allocations: 298.7 kB / 0.5148 GB, free: 7.703 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.1436, allocations: 0.8366 MB / 0.5156 GB, free: 6.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1436, allocations: 0 / 0.5156 GB, free: 6.863 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1436, allocations: 0 / 0.5156 GB, free: 6.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1436, allocations: 0 / 0.5156 GB, free: 6.863 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.001744/0.1454, allocations: 0.8978 MB / 0.5165 GB, free: 5.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1454, allocations: 8.031 kB / 0.5165 GB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.1456, allocations: 76.47 kB / 0.5165 GB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008402/0.1465, allocations: 494.6 kB / 0.517 GB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/0.1467, allocations: 302.6 kB / 0.5173 GB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/0.1468, allocations: 40.38 kB / 0.5173 GB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.148, allocations: 0.6785 MB / 0.518 GB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.148, allocations: 4 kB / 0.518 GB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/0.1481, allocations: 16 kB / 0.518 GB, free: 4.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.1481, allocations: 8 kB / 0.518 GB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.1493, allocations: 0.6403 MB / 0.5187 GB, free: 3.566 MB / 378.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.00249/0.1518, allocations: 1.243 MB / 0.5199 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.1537, allocations: 0.7364 MB / 0.5206 GB, free: 1.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009276/0.1546, allocations: 436.6 kB / 0.521 GB, free: 1.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.1547, allocations: 7.984 kB / 0.521 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.1547, allocations: 38.56 kB / 0.521 GB, free: 1.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.793e-06/0.1547, allocations: 4 kB / 0.521 GB, free: 1.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001735/0.1564, allocations: 0.88 MB / 0.5219 GB, free: 172 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.1565, allocations: 55.41 kB / 0.522 GB, free: 104 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007443/0.1572, allocations: 0.5603 MB / 0.5225 GB, free: 15.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.1573, allocations: 33.7 kB / 0.5225 GB, free: 15.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.1575, allocations: 296.5 kB / 0.5228 GB, free: 15.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.1577, allocations: 130.8 kB / 0.5229 GB, free: 15.08 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.1578, allocations: 86.06 kB / 0.523 GB, free: 14.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.158, allocations: 362.7 kB / 0.5234 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006416/0.1587, allocations: 272.7 kB / 0.5236 GB, free: 14.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.1592, allocations: 330.9 kB / 0.524 GB, free: 14.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.1603, allocations: 0.6038 MB / 0.5245 GB, free: 13.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.1604, allocations: 4 kB / 0.5245 GB, free: 13.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001324/0.1617, allocations: 0.7036 MB / 0.5252 GB, free: 12.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1617, allocations: 8 kB / 0.5252 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1617, allocations: 3.984 kB / 0.5252 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1617, allocations: 4 kB / 0.5252 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.1629, allocations: 187.9 kB / 0.5254 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/0.1629, allocations: 4 kB / 0.5254 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.1633, allocations: 51.69 kB / 0.5255 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.1633, allocations: 19.98 kB / 0.5255 GB, free: 12.39 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.0002697/0.1636, allocations: 209.7 kB / 0.5257 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.1637, allocations: 51.61 kB / 0.5257 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.165, allocations: 0.6776 MB / 0.5264 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.165, allocations: 8 kB / 0.5264 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.165, allocations: 0 / 0.5264 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.165, allocations: 7.922 kB / 0.5264 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.1672, allocations: 1.203 MB / 0.5276 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1672, allocations: 0 / 0.5276 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.1683, allocations: 163.8 kB / 0.5278 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1683, allocations: 0 / 0.5278 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.1683, allocations: 11.94 kB / 0.5278 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1684, allocations: 0 / 0.5278 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1684, allocations: 4 kB / 0.5278 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.1704, allocations: 1.133 MB / 0.5289 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.363e-05/0.1705, allocations: 55.61 kB / 0.5289 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.942e-05/0.1705, allocations: 7.938 kB / 0.5289 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.1709, allocations: 27.97 kB / 0.529 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/0.171, allocations: 27.95 kB / 0.529 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.171, allocations: 19.98 kB / 0.529 GB, free: 8.715 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005059/0.1715, allocations: 407.1 kB / 0.5294 GB, free: 8.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1715, allocations: 0 / 0.5294 GB, free: 8.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005655/0.1721, allocations: 179.7 kB / 0.5296 GB, free: 8.145 MB / 394.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.0002501/0.1723, allocations: 131.6 kB / 0.5297 GB, free: 8.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.1735, allocations: 0.5931 MB / 0.5303 GB, free: 7.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1735, allocations: 0 / 0.5303 GB, free: 7.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007217/0.1743, allocations: 308.2 kB / 0.5306 GB, free: 7.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.1749, allocations: 121.8 kB / 0.5307 GB, free: 6.992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.1773, allocations: 1.511 MB / 0.5322 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.1777, allocations: 326.3 kB / 0.5325 GB, free: 5.105 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002952/0.178, allocations: 67.27 kB / 0.5325 GB, free: 5.043 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.1782, allocations: 55.41 kB / 0.5326 GB, free: 4.988 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1782, allocations: 3.938 kB / 0.5326 GB, free: 4.984 MB / 394.7 MB Notification: Performance of Templates: time 0.01617/0.1943, allocations: 8.189 MB / 0.5406 GB, free: 12.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.makefile [Timeout 660] (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 & ./Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.968438059557229]