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.0009524/0.0009524, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 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.00102/0.00102, allocations: 211.6 kB / 22.99 MB, free: 2.961 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.038/1.038, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.059/0.059, allocations: 17.16 MB / 330.3 MB, free: 0.7266 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.001997/0.001997, allocations: 68.17 kB / 460.7 MB, free: 27.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09378/0.09577, allocations: 57.78 MB / 0.5063 GB, free: 1.281 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.003707/0.09948, allocations: 4.378 MB / 0.5106 GB, free: 12.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1013, allocations: 1.188 MB / 0.5117 GB, free: 11.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.1015, allocations: 23.81 kB / 0.5118 GB, free: 11.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.1021, allocations: 218.6 kB / 0.512 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.1025, allocations: 274 kB / 0.5122 GB, free: 11.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.1027, allocations: 191.7 kB / 0.5124 GB, free: 10.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000752/0.1035, allocations: 0.8599 MB / 0.5132 GB, free: 10.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.1037, allocations: 125.5 kB / 0.5134 GB, free: 9.996 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.104, allocations: 315 kB / 0.5137 GB, free: 9.688 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.1043, allocations: 334.5 kB / 0.514 GB, free: 9.359 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.301e-05/0.1044, allocations: 56 kB / 0.514 GB, free: 9.305 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.1047, allocations: 231.7 kB / 0.5143 GB, free: 9.078 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.1049, allocations: 215.4 kB / 0.5145 GB, free: 8.867 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.105, allocations: 294.7 kB / 0.5147 GB, free: 8.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006681/0.1057, allocations: 0.8249 MB / 0.5156 GB, free: 7.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1057, allocations: 0 / 0.5156 GB, free: 7.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1057, allocations: 4 kB / 0.5156 GB, free: 7.746 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1057, allocations: 0 / 0.5156 GB, free: 7.746 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.001058/0.1068, allocations: 0.9056 MB / 0.5164 GB, free: 6.809 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1068, allocations: 8.031 kB / 0.5164 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.194e-05/0.1069, allocations: 76.47 kB / 0.5165 GB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/0.1074, allocations: 490.6 kB / 0.517 GB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.1076, allocations: 302.6 kB / 0.5173 GB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.1076, allocations: 44.38 kB / 0.5173 GB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/0.1083, allocations: 0.6707 MB / 0.518 GB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1083, allocations: 4 kB / 0.518 GB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.1083, allocations: 16 kB / 0.518 GB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1083, allocations: 12 kB / 0.518 GB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006909/0.109, allocations: 0.6403 MB / 0.5186 GB, free: 4.445 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.001503/0.1105, allocations: 1.235 MB / 0.5198 GB, free: 3.176 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.1117, allocations: 0.7492 MB / 0.5206 GB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.1123, allocations: 432.6 kB / 0.521 GB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.1123, allocations: 7.984 kB / 0.521 GB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.1123, allocations: 42.5 kB / 0.521 GB, free: 1.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.1123, allocations: 0 / 0.521 GB, free: 1.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009987/0.1133, allocations: 0.8839 MB / 0.5219 GB, free: 1.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1134, allocations: 55.41 kB / 0.5219 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.1138, allocations: 0.5564 MB / 0.5225 GB, free: 432 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1138, allocations: 33.7 kB / 0.5225 GB, free: 392 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.1139, allocations: 300.5 kB / 0.5228 GB, free: 88 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.114, allocations: 139 kB / 0.5229 GB, free: 15.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-05/0.1141, allocations: 82.06 kB / 0.523 GB, free: 15.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1142, allocations: 358.8 kB / 0.5234 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.1145, allocations: 268.7 kB / 0.5236 GB, free: 15.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.1148, allocations: 350.8 kB / 0.524 GB, free: 14.87 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006049/0.1154, allocations: 0.5922 MB / 0.5245 GB, free: 14.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1154, allocations: 0 / 0.5245 GB, free: 14.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007336/0.1162, allocations: 0.6997 MB / 0.5252 GB, free: 13.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1162, allocations: 4 kB / 0.5252 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1162, allocations: 7.984 kB / 0.5252 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1162, allocations: 8.219 kB / 0.5252 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.1168, allocations: 187.7 kB / 0.5254 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1168, allocations: 7.984 kB / 0.5254 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.117, allocations: 47.52 kB / 0.5255 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.1171, allocations: 19.98 kB / 0.5255 GB, free: 13.27 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.0001898/0.1173, allocations: 209.8 kB / 0.5257 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.1173, allocations: 51.67 kB / 0.5257 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007511/0.1181, allocations: 0.6736 MB / 0.5264 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1181, allocations: 4 kB / 0.5264 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1181, allocations: 3.938 kB / 0.5264 GB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1181, allocations: 7.984 kB / 0.5264 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.1195, allocations: 1.199 MB / 0.5276 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1195, allocations: 3.938 kB / 0.5276 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/0.12, allocations: 163.8 kB / 0.5277 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.12, allocations: 4 kB / 0.5277 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.1201, allocations: 11.94 kB / 0.5278 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1201, allocations: 3.938 kB / 0.5278 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1201, allocations: 3.984 kB / 0.5278 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.1212, allocations: 1.133 MB / 0.5289 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.1212, allocations: 43.61 kB / 0.5289 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.1213, allocations: 16 kB / 0.5289 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1215, allocations: 31.97 kB / 0.529 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.1215, allocations: 23.89 kB / 0.529 GB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.1215, allocations: 15.98 kB / 0.529 GB, free: 9.598 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002976/0.1218, allocations: 415.1 kB / 0.5294 GB, free: 9.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1218, allocations: 3.938 kB / 0.5294 GB, free: 9.191 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004035/0.1222, allocations: 179.7 kB / 0.5296 GB, free: 9.016 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.0001829/0.1224, allocations: 135.6 kB / 0.5297 GB, free: 8.871 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007214/0.1231, allocations: 0.5897 MB / 0.5303 GB, free: 8.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1231, allocations: 0 / 0.5303 GB, free: 8.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.1235, allocations: 307.7 kB / 0.5306 GB, free: 7.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.1239, allocations: 109.9 kB / 0.5307 GB, free: 7.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.1255, allocations: 1.357 MB / 0.532 GB, free: 6.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.1257, allocations: 267.1 kB / 0.5322 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.1258, allocations: 51.41 kB / 0.5323 GB, free: 6.141 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1258, allocations: 4 kB / 0.5323 GB, free: 6.137 MB / 394.7 MB Notification: Performance of Templates: time 0.008452/0.1343, allocations: 7.502 MB / 0.5396 GB, free: 14.67 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 > Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.098045361228287]